Monday, April 30, 2012

Visual C++ Undo and Redo operations

I have a rather large application I'm trying to make in Visual-C++, and I am now trying to add undo/redo functionality.



Having a rather large amount of events (button clicks, label text changed, etc.), I would like to find a way to undo/redo without adding code to every function.
For Instance, I would like a class that can read every event done and store it automatically. Then in my undo/redo events, I can just get the latest action stored.



If that is not possible, I would not mind some other way.



Any help?





No comments:

Post a Comment