Click here to Skip to main content
15,920,688 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTurbo C 3.0 & kernel VGA Pin
tuan111113-Jul-09 17:13
tuan111113-Jul-09 17:13 
QuestionRe: Turbo C 3.0 & kernel VGA Pin
David Crow14-Jul-09 9:08
David Crow14-Jul-09 9:08 
QuestionHow to handle drawing into bitmaps and PAINT issues Pin
dhomas13-Jul-09 16:05
dhomas13-Jul-09 16:05 
AnswerRe: How to handle drawing into bitmaps and PAINT issues Pin
«_Superman_»13-Jul-09 16:57
professional«_Superman_»13-Jul-09 16:57 
GeneralRe: How to handle drawing into bitmaps and PAINT issues Pin
dhomas13-Jul-09 17:03
dhomas13-Jul-09 17:03 
GeneralRe: How to handle drawing into bitmaps and PAINT issues Pin
«_Superman_»13-Jul-09 17:07
professional«_Superman_»13-Jul-09 17:07 
GeneralRe: How to handle drawing into bitmaps and PAINT issues Pin
dhomas13-Jul-09 17:14
dhomas13-Jul-09 17:14 
GeneralRe: How to handle drawing into bitmaps and PAINT issues Pin
«_Superman_»13-Jul-09 17:27
professional«_Superman_»13-Jul-09 17:27 
I don't understand your exact requirement, but how would you do a reverse of a particular user action if you draw into the original bitmap.

Let us say the user clicked a check box and you want to display the text "Image checked" on the bitmap.
Now you want to remove the text if the user unchecks the checkbox.

If you do not have such a situation where an action will be undone, you could draw onto the original bitmap.

To modify the bitmap, I guess you just need to create a CDC object and use CDC::SelectObject to select the CBitmap object into it. Now you could use the drawing function of the CDC class to draw on the bitmap.

«_Superman
I love work. It gives me something to do between weekends.

GeneralRe: How to handle drawing into bitmaps and PAINT issues Pin
dhomas13-Jul-09 17:52
dhomas13-Jul-09 17:52 
GeneralRe: How to handle drawing into bitmaps and PAINT issues Pin
«_Superman_»13-Jul-09 18:03
professional«_Superman_»13-Jul-09 18:03 
GeneralRe: How to handle drawing into bitmaps and PAINT issues Pin
dhomas13-Jul-09 18:07
dhomas13-Jul-09 18:07 
QuestionPausing the Application until a OK Button is pressed? Pin
dipuks13-Jul-09 13:02
dipuks13-Jul-09 13:02 
AnswerRe: Pausing the Application until a OK Button is pressed? Pin
Stuart Dootson13-Jul-09 13:23
professionalStuart Dootson13-Jul-09 13:23 
Questionwhy we can't overload .,->, :: operators? Pin
sam_psycho13-Jul-09 9:51
sam_psycho13-Jul-09 9:51 
AnswerRe: why we can't overload .,->, :: operators? Pin
David Crow13-Jul-09 9:54
David Crow13-Jul-09 9:54 
GeneralRe: why we can't overload .,->, :: operators? Pin
sam_psycho13-Jul-09 10:09
sam_psycho13-Jul-09 10:09 
QuestionVC++ -- Minimize all windows within MDI Pin
blueflame21313-Jul-09 8:38
blueflame21313-Jul-09 8:38 
AnswerRe: VC++ -- Minimize all windows within MDI Pin
David Crow13-Jul-09 9:08
David Crow13-Jul-09 9:08 
GeneralRe: VC++ -- Minimize all windows within MDI Pin
blueflame21313-Jul-09 9:30
blueflame21313-Jul-09 9:30 
QuestionRe: VC++ -- Minimize all windows within MDI Pin
David Crow13-Jul-09 9:33
David Crow13-Jul-09 9:33 
AnswerRe: VC++ -- Minimize all windows within MDI Pin
blueflame21313-Jul-09 9:42
blueflame21313-Jul-09 9:42 
GeneralRe: VC++ -- Minimize all windows within MDI Pin
David Crow13-Jul-09 9:52
David Crow13-Jul-09 9:52 
GeneralRe: VC++ -- Minimize all windows within MDI Pin
blueflame21313-Jul-09 10:36
blueflame21313-Jul-09 10:36 
GeneralRe: VC++ -- Minimize all windows within MDI Pin
David Crow13-Jul-09 10:40
David Crow13-Jul-09 10:40 
Questionneed help on Bmp to jpeg conversion Pin
umangv213-Jul-09 7:31
umangv213-Jul-09 7:31 

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.