How to add actions on a tray icon ?
Hi..
Here's my new question...How to add actions on a tray icon ? (by Tray Icon, I mean those icons appearing near the clock in the Win9x taskbar..).
I succeeded in creating the Icon and making it appear in its right place, even add tooltip to it, but I can't find the way how to know when the user clicks on it and then do something like making a menupopup appear..How can I 'catch' clicks on the Tray Icon ?
thanks in advance...
-jal-
Re: How to add actions on a tray icon ?
hi,
u should have passed the NOTIFYICONDATA structure which contains hWnd and callbackmessage. The wndproc of the hWnd will be called with the callbackmessage. U can write a handler to do ur processing !
Enjoy,
The solutions are always there, it is only that we dont see it ...
Re: How to add actions on a tray icon ?
I don't know how to resolve you problem, but can you tell me how to add a icon to the right corner of taskbar, even tooltip?
thanks