views:

110

answers:

2

Hi Everybody,

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

+1  A: 

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
A: 

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

Ewan Todd