Click here to Skip to main content
15,918,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ class typecasting Pin
Ryan Binns14-Apr-04 14:16
Ryan Binns14-Apr-04 14:16 
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 
Anonymous wrote:
so I have done that and it works great.

Terrific Smile | :)

Anonymous wrote:
I have two device contexts in which I SelectObject the two bitmaps.
I re select the old bitmaps back. Is this all I have to do?


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.

Christian

I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
GeneralRe: resize bitmap resource Pin
PJ Arends14-Apr-04 20:34
professionalPJ Arends14-Apr-04 20:34 
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 

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.