Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » CExtBitmap into CDC Collapse All
Subject Author Date
Offer Har Nov 29, 2010 - 12:43 AM

Dear Support,


We had code that used CBitmap, and we want to change it to use CExtBitmap. We have this piece of code:



CDC dcImage;
dcImage.SelectObject(&bitmap);
dc.BitBlt(0, 0, 100, 100, &dcImage, 0, 0, SRCCOPY);


How do we make it work when bitmap is a CExtBitmap?


Thanks,


Ron.