Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: what are the includes for WM_KICKIDLE ??? Pin
Kuniva2-Jan-02 7:39
Kuniva2-Jan-02 7:39 
GeneralRe: what are the includes for WM_KICKIDLE ??? Pin
User 66582-Jan-02 9:21
User 66582-Jan-02 9:21 
GeneralRe: what are the includes for WM_KICKIDLE ??? Pin
Tim Smith2-Jan-02 9:33
Tim Smith2-Jan-02 9:33 
GeneralRe: what are the includes for WM_KICKIDLE ??? Pin
Carlos Antollini2-Jan-02 9:43
Carlos Antollini2-Jan-02 9:43 
GeneralRe: what are the includes for WM_KICKIDLE ??? Pin
Nish Nishant2-Jan-02 16:37
sitebuilderNish Nishant2-Jan-02 16:37 
AnswerRe: what are the includes for WM_KICKIDLE ??? Pin
Philip Patrick2-Jan-02 13:07
professionalPhilip Patrick2-Jan-02 13:07 
GeneralDynamically Creating code and executing it Pin
slacker2-Jan-02 7:12
slacker2-Jan-02 7:12 
GeneralRe: Dynamically Creating code and executing it Pin
Rickard Andersson202-Jan-02 7:18
Rickard Andersson202-Jan-02 7:18 
GeneralRe: Dynamically Creating code and executing it Pin
Ravi Bhavnani2-Jan-02 7:21
professionalRavi Bhavnani2-Jan-02 7:21 
GeneralRe: Dynamically Creating code and executing it Pin
Brian V Shifrin2-Jan-02 8:21
Brian V Shifrin2-Jan-02 8:21 
GeneralRe: Dynamically Creating code and executing it Pin
Rick York2-Jan-02 8:50
mveRick York2-Jan-02 8:50 
GeneralRe: Dynamically Creating code and executing it Pin
2-Jan-02 9:28
suss2-Jan-02 9:28 
GeneralRe: Dynamically Creating code and executing it Pin
Rick York2-Jan-02 11:31
mveRick York2-Jan-02 11:31 
GeneralRe: Dynamically Creating code and executing it Pin
Carlos Antollini2-Jan-02 9:20
Carlos Antollini2-Jan-02 9:20 
GeneralRe: Dynamically Creating code and executing it Pin
Roger Wright (new)2-Jan-02 16:33
Roger Wright (new)2-Jan-02 16:33 
GeneralRe: Dynamically Creating code and executing it Pin
Todd Smith2-Jan-02 18:02
Todd Smith2-Jan-02 18:02 
GeneralCImageList & Replace with bitmap mask Pin
2-Jan-02 6:07
suss2-Jan-02 6:07 
GeneralRe: CImageList & Replace with bitmap mask Pin
Ernest Laurentin2-Jan-02 7:08
Ernest Laurentin2-Jan-02 7:08 
GeneralRe: CImageList & Replace with bitmap mask Pin
2-Jan-02 8:00
suss2-Jan-02 8:00 
GeneralRe: CImageList & Replace with bitmap mask Pin
Ernest Laurentin2-Jan-02 11:26
Ernest Laurentin2-Jan-02 11:26 
GeneralRe: CImageList & Replace with bitmap mask Pin
3-Jan-02 1:39
suss3-Jan-02 1:39 
GeneralRe: CImageList & Replace with bitmap mask Pin
Ernest Laurentin3-Jan-02 5:16
Ernest Laurentin3-Jan-02 5:16 
I can only give you ideas that could work in your case since I did
similar things with a ListView.
1. In my case, I didn't create a mask so when I call Create() for the ImageList, the
crMask was set to CLR_NONE (0) but I guess in your case you should probably use RGB(192,192,192).
2. I also use the default color: ILC_COLOR (0) not ILC_COLOR8 but I understand why you are using it.
3. AFAIK Replace function works but you can always use:
BOOL GetImageInfo( int nImage, IMAGEINFO* pImageInfo)
to change the image list directly, don't forget to delete previous bitmap if you plan to use it.
4. You may want to take a look at these ImageList macros:
ImageList_Create, ImageList_LoadImage, ImageList_AddMasked, etc
Thank you and good luck

- God bless the World
GeneralSkinStyle (no MFC) error: undefined reference to... Pin
Kuniva2-Jan-02 5:18
Kuniva2-Jan-02 5:18 
Generaldraw lines in a CRichEditCtrl Pin
jafrazee2-Jan-02 5:11
jafrazee2-Jan-02 5:11 
GeneralMoving and Resizing Tool Tip (CToolTipCtrl) Pin
GurGur2-Jan-02 4:30
GurGur2-Jan-02 4:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.