Click here to Skip to main content
12,449,919 members (48,944 online)
Click here to Skip to main content

Stats

68.1K views
1.7K downloads
101 bookmarked
Posted

A Simple, Action Based, Undo/Redo Framework

, 16 Feb 2013 CPOL
How to use a simple, action based, undo/redo framework
kis
kis.dll
kis.lib
KisWinBin_v_1_r_1
kis
kis.dll
kis.lib
KisActionDemo
res
KisActionDemo.ico
KisActionDemoDoc.ico
Toolbar.bmp
vssver.scc
KisWinSrc_v_1_r_1
kis
KisActionDemo
res
KisActionDemo.ico
KisActionDemoDoc.ico
Toolbar.bmp
vssver.scc
REGEDIT
; This .REG file may be used by your SETUP program.
;   If a SETUP program is not available, the entries below will be
;   registered in your InitInstance automatically with a call to
;   CWinApp::RegisterShellFileTypes and COleObjectFactory::UpdateRegistryAll.

HKEY_CLASSES_ROOT\.kad = KisActionDemo.Document
HKEY_CLASSES_ROOT\KisActionDemo.Document\shell\open\command = KisActionDemo.EXE %1
HKEY_CLASSES_ROOT\KisActionDemo.Document\shell\open\ddeexec = [open("%1")]
HKEY_CLASSES_ROOT\KisActionDemo.Document\shell\open\ddeexec\application = KisActionDemo
    ; note: the application is optional
    ;  (it defaults to the app name in "command")
HKEY_CLASSES_ROOT\KisActionDemo.Document = KisActionDemo.Document

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

zdf
Romania Romania
Just a humble programmer.

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160826.1 | Last Updated 16 Feb 2013
Article Copyright 2006 by zdf
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid