6

Possible Duplicate:
How can I customize the system menu of a Windows Form?

How could I insert new items to the title-bar's context menu as in Google's Chrome:

Google Chrome

I would prefer a C# WPF solution, but I have no problem to do this in C++ (Interops are all set already).

Thank you.

Community
  • 1
  • 1
MasterMastic
  • 20,711
  • 12
  • 68
  • 90
  • I found some good threads . [How can I customize the system menu of a Windows Form?](http://stackoverflow.com/a/4616637/359170) [This application demonstrates how to modify a winform application’s system menu. (CSCustomizeSysMenu)](http://code.msdn.microsoft.com/windowsdesktop/CSCustomizeSysMenu-024ccb7f) I think they will be helpful. – Hamed Sep 16 '12 at 19:58

1 Answers1

1

Some other alternatives here:

You might consider using the 2nd link where it actually creates a WPF menu instead of modifying the existing native system menu, if you wanted to skin the menu for your application.

I'd suggest you extended the code to scan the native System Menu so you could create WPF menu items that mirrored the expected System Menu items.

Colin Smith
  • 12,375
  • 4
  • 39
  • 47
  • 4
    Whilst this may theoretically answer the question, we would like you to include the essential parts of the linked article in your answer, and provide the [link for reference](http://meta.stackexchange.com/q/8259). Failing to do that leaves the answer at risk from link rot. – Kev Sep 16 '12 at 23:23