Home > Software engineering >  How to solve through the file path to the dialog box to add the background image
How to solve through the file path to the dialog box to add the background image

Time:12-11

How through (disk) file path to add the background image to dialog??

CodePudding user response:

Help, anyone can teach it? Bosses look a good

CImage img.
Img. Load (_T (" C: \ \ image BMP "));
CBitmap bitmap.
Bitmap. The Attach (img. Detach ());

This is my web site to find a piece of code, it can realize functions, but will not use, Attach the complains, prompt CBitmap members did not Attach

CodePudding user response:

to achieve transparent dialog box when the bitmap as a background of control


CodePudding user response:

Is very strong, although this is not I asked, but you this is, indeed, I am going to use
Thank you bosses
  • Related