|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to add About... entry to Window (top left) Context Menu?Hello -
I was wondering how I can add an entry called About... to the menu that pops up when I click on the icon on the top left of the Dialog Title? By default it has entries like Close and Minimize. I have seen extra entries added there in some applications. How can I do that with VB.NET? Thanks! Joe >I have seen extra entries added there in some applications. How can I There's no framework support for doing it so you need to work with the>do that with VB.NET? GetSystemMenu and InsertMenuItem Win32 APIs, plus handling window messages to know when the item is selected. Personally I'd recommend putting it in a regular application menu where it's a lot more discoverable. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup.
.NET 1.1 app runs on .NET 2.0?
Accessing a camrea & char in XML document Crystal "PrintToPrinter" will not print to Zebra Label Printer... HELP! Duplicate controls on tab pages Warning Text Files Access IO.File.AppendText error vb.net Automation Issues - COM Interop "Cross-thread operation not valid" without threading!! FileUpload to SQL |
|||||||||||||||||||||||