0

I just found something really cool and i'm surprised i didn't really notice it sooner. Have you ever seen WordPad running on Windows 7? If you have, you'll notice that on the top-left of the window's titlebar are a few icons (save, undo/redo). On the actual titlebar itself! How cool is that? I was wondering how i would implement that feature into my own programs but don't know where to start. I went to MSDN and then got lost because i wasn't sure of what to actually look for... Can somebody please help me?

If you would like a piccture of what i'm talking about i can try and upload a pic somewhere like maybe photobucket or similar?

Thank you

Jase

jay_t55
  • 11,362
  • 28
  • 103
  • 174

2 Answers2

1

It is part of the Ribbon ui. Here is some code from the code project.

http://www.codeproject.com/KB/toolbars/WinFormsRibbon.aspx

Daniel A. White
  • 187,200
  • 47
  • 362
  • 445
0

You can use a stack of commands to create a system that supports multiple level undo.

Ewan Todd
  • 7,315
  • 26
  • 33