Chrysaor
asked on
Copy,cut,paste,undo,redo in C++
I am trying to create an application like Notepad. Where can I find functions for copy,cut,paste? Also , there will be more than one Edit objects, so , how can i make the undo function to undo the last general action? (I cannot use Edit1->Undo() because there are multiple Edit objects)
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://kapo-cpp.blogspot.com/2007/10/multilevel-undo-with-command-pattern.html
Design patterns can be tricky at first. But their pretty cool stuff.