quote:Original post by uber_n00b
Ah I see the problem is solved. Well my job is done
Hehe, yeah I guess it is
BUT...(There's always a but eh? )
I have a question regarding something totally different(About bitmaps), so Im wondering if I should post it here, or create a new thread about it(I don't want to annoy anyone by creating many threads)
Im going to go with the first choice and just post it here, and if you think it's more suitable for me to create a new thread I will
Well my question is:
I'm writing a program that has a picture.
I changed the picture's ID from IDC_STATIC to IDC_PICTURE because I want to be able to change the picture at run time. And I created a variable from it and called it m_Picture.
I imported two bitmaps(IDB_BITMAP1 and IDB_BITMAP2). I applied IDB_BITMAP1 to the picture, so when I run the program it's there by default. As for IDB_BITMAP2, I want to be able to apply it to the picture when I click a button during runtime.
Now the problem is here:
m_Picture.SetBitmap( );
What exactly am I supposed to be placing between the brackets? Im pretty sure it's a handle, but how can I know what the handle of the bitmap is if all I have it it's ID (IDB_BITMAP2). Thanks for the help (Btw, I only started learning MFC yesterday, so if this question is extremely easy(I bet it is) I apologize, but after all, Im still new so please bear with me)
Thanks again for reading this
[edited by - ShadowOfVengeance on June 6, 2004 7:53:46 PM]