|
-
Mar 25th, 2005, 01:07 PM
#1
Thread Starter
Registered User
Adding undo function to notepad....
hey
im beginner and making a notepad program...
i just wanted to know wats the pseudocode behind the undo function... wats the trick of doing it..... u cud just hint me coz my way is long..... i wanted to knw the standard way.... ill code it but just show me the light...
-
Mar 25th, 2005, 01:12 PM
#2
Re: Adding undo function to notepad....
-
Mar 25th, 2005, 01:54 PM
#3
Re: Adding undo function to notepad....
The above link has a class for unlimited undos/redos. But if you only wanted to use the single Undo that are built into the textbox and that you can pick from the right-click popup menu just use SendKeys and send Ctrl+Z to the text box. Or use the SendMessage API function with the EM_UNDO message.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|