Click here to Skip to main content
16,007,779 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thanks Pin
Coremn14-Apr-04 14:20
Coremn14-Apr-04 14:20 
Generalresize bitmap resource Pin
Anonymous14-Apr-04 14:09
Anonymous14-Apr-04 14:09 
GeneralRe: resize bitmap resource Pin
Christian Graus14-Apr-04 14:24
protectorChristian Graus14-Apr-04 14:24 
GeneralRe: resize bitmap resource Pin
Anonymous14-Apr-04 14:46
Anonymous14-Apr-04 14:46 
GeneralRe: resize bitmap resource Pin
Christian Graus14-Apr-04 14:51
protectorChristian Graus14-Apr-04 14:51 
GeneralRe: resize bitmap resource Pin
Anonymous14-Apr-04 15:40
Anonymous14-Apr-04 15:40 
GeneralRe: resize bitmap resource Pin
Christian Graus14-Apr-04 15:45
protectorChristian Graus14-Apr-04 15:45 
GeneralRe: resize bitmap resource Pin
PJ Arends14-Apr-04 20:34
professionalPJ Arends14-Apr-04 20:34 
Christian Graus wrote:
If you're using MFC, the CDC and CBitmap classes will clean up after you once you've done the above. If you're using straight handles then you'll need to call DeleteObject yourself.

Not quite Christian, you do have to select the bitmaps out of the DC before you let the destructors clean up. The easiest way to call CDC::SaveDC before you select any objects in, and CDC::RestoreDC when you are finished with the DC.







Sonork 100.11743 Chicken Little

"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

Within you lies the power for good - Use it!
GeneralRe: resize bitmap resource Pin
Christian Graus15-Apr-04 10:27
protectorChristian Graus15-Apr-04 10:27 
GeneralRe: resize bitmap resource Pin
PJ Arends15-Apr-04 11:32
professionalPJ Arends15-Apr-04 11:32 
GeneralShutting Down when not Logged Off Pin
reymano14-Apr-04 12:10
reymano14-Apr-04 12:10 
GeneralDOS string parsing Pin
Ravi Bhavnani14-Apr-04 11:16
professionalRavi Bhavnani14-Apr-04 11:16 
GeneralRe: DOS string parsing Pin
Gary R. Wheeler14-Apr-04 13:07
Gary R. Wheeler14-Apr-04 13:07 
GeneralAbout ICOPYHOOK Interface... Pin
ZarrinPour14-Apr-04 10:04
ZarrinPour14-Apr-04 10:04 
GeneralRe: About ICOPYHOOK Interface... Pin
vcplusplus14-Apr-04 10:42
vcplusplus14-Apr-04 10:42 
GeneralWINVER related question Pin
Maarten Kools14-Apr-04 9:47
professionalMaarten Kools14-Apr-04 9:47 
GeneralRe: WINVER related question Pin
Joe Woodbury14-Apr-04 10:29
professionalJoe Woodbury14-Apr-04 10:29 
GeneralRe: WINVER related question Pin
Maarten Kools14-Apr-04 10:31
professionalMaarten Kools14-Apr-04 10:31 
GeneralRe: WINVER related question Pin
Joe Woodbury14-Apr-04 13:10
professionalJoe Woodbury14-Apr-04 13:10 
GeneralRe: WINVER related question Pin
Maarten Kools14-Apr-04 13:40
professionalMaarten Kools14-Apr-04 13:40 
Generalreinterpret_cast question Pin
ursus zeta14-Apr-04 9:32
ursus zeta14-Apr-04 9:32 
GeneralRe: reinterpret_cast question Pin
Maarten Kools14-Apr-04 9:40
professionalMaarten Kools14-Apr-04 9:40 
GeneralRe: reinterpret_cast question Pin
ursus zeta14-Apr-04 9:54
ursus zeta14-Apr-04 9:54 
GeneralRe: reinterpret_cast question Pin
Maarten Kools14-Apr-04 10:15
professionalMaarten Kools14-Apr-04 10:15 
GeneralRe: reinterpret_cast question Pin
Gary R. Wheeler14-Apr-04 13:38
Gary R. Wheeler14-Apr-04 13:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.