jay_t55
jay_t55

Reputation: 11652

Icons on Titlebar

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

Upvotes: 0

Views: 1457

Answers (2)

Ewan Todd
Ewan Todd

Reputation: 7312

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

Upvotes: 0

Daniel A. White
Daniel A. White

Reputation: 190897

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

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

Upvotes: 1

Related Questions