all I want to do is the following.
Load different BMPs form file to a CImageList and then load these BMPs depending on an variable to a picture on a dialog.
Can anybody tell me how that works with a little code?
I tried this, but it don't work.
Mybmp = (HBITMAP)LoadImage(NULL,szFilename,IMAGE_BMP,0,0,LR_LOADFROMFILE|LR_CREATEDIBSECTION|LR_DEFAULTSIZE);
Last line creates compiler error 2664