Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTooltips can't display in CMainFrame::CFrameWnd Pin
ussthamcn9-Jul-12 3:55
ussthamcn9-Jul-12 3:55 
AnswerRe: Tooltips can't display in CMainFrame::CFrameWnd Pin
ussthamcn10-Jul-12 3:04
ussthamcn10-Jul-12 3:04 
QuestionRe: Tooltips can't display in CMainFrame::CFrameWnd Pin
David Crow10-Jul-12 4:53
David Crow10-Jul-12 4:53 
QuestionHow to Undo/Redo drawing operation in a dialog based application.? Pin
mbatra319-Jul-12 1:55
mbatra319-Jul-12 1:55 
AnswerRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
Chris Losinger9-Jul-12 2:20
professionalChris Losinger9-Jul-12 2:20 
GeneralRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
mbatra319-Jul-12 2:32
mbatra319-Jul-12 2:32 
GeneralRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
Chris Losinger9-Jul-12 3:14
professionalChris Losinger9-Jul-12 3:14 
GeneralRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
Maximilien9-Jul-12 3:18
Maximilien9-Jul-12 3:18 
You have to think things over.

The undo is usually the harder thing to do because you need to restore the previous drawing stage.

For example, if you have a "spray-can" tool, the undo of that might be quite difficult without storing the previous bitmap; unless you redraw all the steps from the start (could be fast, could be slow depending on the drawing, but that solution (redrawing every thing) is quite easy to implement.

Saving the bitmap is not incompatible with having a command pattern,
Watched code never compiles.

AnswerRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
CPallini9-Jul-12 2:20
mveCPallini9-Jul-12 2:20 
GeneralRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
mbatra319-Jul-12 2:33
mbatra319-Jul-12 2:33 
AnswerRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
Sunil P V10-Jul-12 0:01
Sunil P V10-Jul-12 0:01 
Generalneed help Opencv with MFC (Solved) Pin
jawadali4779-Jul-12 0:44
jawadali4779-Jul-12 0:44 
GeneralRe: need help Opencv with MFC Pin
CPallini9-Jul-12 0:57
mveCPallini9-Jul-12 0:57 
GeneralRe: need help Opencv with MFC Pin
jawadali4779-Jul-12 1:17
jawadali4779-Jul-12 1:17 
GeneralRe: need help Opencv with MFC Pin
Richard MacCutchan9-Jul-12 1:30
mveRichard MacCutchan9-Jul-12 1:30 
GeneralRe: need help Opencv with MFC Pin
jawadali4779-Jul-12 1:59
jawadali4779-Jul-12 1:59 
GeneralRe: need help Opencv with MFC Pin
Jochen Arndt9-Jul-12 1:03
professionalJochen Arndt9-Jul-12 1:03 
GeneralGeneral driver help Pin
Brandon-X120009-Jul-12 0:28
Brandon-X120009-Jul-12 0:28 
GeneralRe: General driver help Pin
Richard MacCutchan9-Jul-12 1:23
mveRichard MacCutchan9-Jul-12 1:23 
GeneralRe: General driver help Pin
Brandon-X1200010-Jul-12 6:55
Brandon-X1200010-Jul-12 6:55 
GeneralRe: General driver help Pin
Richard MacCutchan10-Jul-12 9:04
mveRichard MacCutchan10-Jul-12 9:04 
GeneralRe: General driver help Pin
WebMaster9-Jul-12 3:04
WebMaster9-Jul-12 3:04 
GeneralRe: General driver help Pin
Brandon-X1200010-Jul-12 9:14
Brandon-X1200010-Jul-12 9:14 
GeneralRe: General driver help Pin
WebMaster10-Jul-12 9:08
WebMaster10-Jul-12 9:08 
GeneralRe: General driver help Pin
Brandon-X1200010-Jul-12 9:13
Brandon-X1200010-Jul-12 9:13 

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.