L
larry
I'm trying to display a bit map on a group -box control instead of text
caption.
1)I created a bitmap in resource: IDB_BITMAP_BLUE
2)I set Bitmap property to true for the group box control.
3)I added a control variable for group box control: m_ctrlBlue
I used following code
HINSTANCE hinst=AfxGetInstanceHandle();
m_ctrlBlue.SetBitmap(LoadBitmap(hinst,MAKEINTRESOURCE(IDB_BITMAP_BLUE))
);
But I can not see the bitmap. Please help me. Thanks ahead
Larry
caption.
1)I created a bitmap in resource: IDB_BITMAP_BLUE
2)I set Bitmap property to true for the group box control.
3)I added a control variable for group box control: m_ctrlBlue
I used following code
HINSTANCE hinst=AfxGetInstanceHandle();
m_ctrlBlue.SetBitmap(LoadBitmap(hinst,MAKEINTRESOURCE(IDB_BITMAP_BLUE))
);
But I can not see the bitmap. Please help me. Thanks ahead
Larry