Click to See Complete Forum and Search --> : How to act on to a System tray icon application.


Amendra
October 3rd, 1999, 02:32 PM
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

Chris Eastwood
October 4th, 1999, 02:35 AM
>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