How to add About... entry to Window (top left) Context Menu?

  • Thread starter Thread starter Joe HM
  • Start date Start date
J

Joe HM

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
do that with VB.NET?

There's no framework support for doing it so you need to work with the
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top