Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

Undo and Redo the "Easy" Way

, 20 Jun 2004 CPOL
This article introduces a simple approach to in-memory transactions that can be used to implement Undo and Redo. The technique uses SEH and Virtual Memory and requires only STL and Win32.
transactions_complete.zip
Common
CER
Curve Simplification
Transactions
Utilities
DrawIt
res
DrawIt.ico
DrawItDoc.ico
Toolbar.bmp
vssver.scc
DrawItMDI
res
DrawItMDI.ico
DrawItMDI.manifest
DrawItMDIDoc.ico
mainfram.bmp
Toolbar.bmp
MemTest
Bin
release
DrawFunc.dll
DrawIt.exe
DrawItMDI.exe
XCrashReport.exe
XCrashReport.ini
DrawFunc
Transactions.jpg
transactions_demo.zip
Transactions.jpg
transactions_mfc_demo.zip
DrawIt.ico
DrawItDoc.ico
Toolbar.bmp
vssver.scc
Transactions.jpg
transactions_mfc_mdi_demo.zip
DrawItMDI.ico
DrawItMDI.manifest
DrawItMDIDoc.ico
mainfram.bmp
Toolbar.bmp
Transactions.jpg
transactions_src.zip
Transactions
Transactions.jpg
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by DrawFunc.rc

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        101
#define _APS_NEXT_COMMAND_VALUE         40001
#define _APS_NEXT_CONTROL_VALUE         1001
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

compiler

United States United States
A compiler warns of bogasity, ignore it at your peril. Unless you've done the compiler's job yourself, don't criticize it.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141223.1 | Last Updated 21 Jun 2004
Article Copyright 2002 by compiler
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid