|
-
February 12th, 2004, 11:46 AM
#1
Wince setbitmap
I have problem with showing bitmap in static picture control.
i cant debug it on wince - so i tested on winxp and just moved code.
i have static control pic - with default bitmap.
By clicking on button it should change to another one.
on initDlg
i do
CBitmap a=LoadBitmap(IDB_BITMAP1);
and in the button function onClick i do
m_pic.SetBitmap(a);
m_pic - is control variable for picture control created by ClassWizard
////////// in vc++6 its ok
when i compile this in Embedded Visual C++
it runs as i was told without showing bitmaps
Can anyone help me with this ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|