Hi
I use a bitmap object in a MFC dialog box to display an image. I have
assigned a variable m_picture_contr to the bitmap object and use it in a
button to assign a bitmap to it:
the code I use in the button:
CBitmap Bmp1;
Bmp1.LoadBitmap(IDB_RED);
m_picture_contr.SetBitmap(Bmp1);
When I move another window (or application) on top of the dialog box and
move it away again, the image is not there anymore, it is like wiped out by
the window I moved over. Can someone help me by informing me how to prevent
the bitmap from being wiped out by other applications/windows? Or what I do
wrong because it behaves like this? THX.
GreetingZ
Wesley