How can I create a popup menu when I click on the system tray icon of my application.Also how to respond to those clicks I have done. How will the events be handled.
Amendra
Printable View
How can I create a popup menu when I click on the system tray icon of my application.Also how to respond to those clicks I have done. How will the events be handled.
Amendra
>How can I create a popup menu when I click on the system
>tray icon of my application
The same way you create a pop-up menu for other uses :
- Create a menu on your form using the menu-editor in VB
- declare the top-most menu item as non-visible
- In AndyK's code for left/right mouse-button-up :
PopupMenu YourMenuName
>How will the events be handled
In the menu_click event for each menu ite.
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb