03-28-2012, 01:48 PM
OK.
I will explain my ideia and ask some help on this.
The final file is a generated exe.
At run time, i add a tray icon using 'AddTrayIcon' function to know that the program is running.
In a regular way, i want to show some messages using the ballon tooltip, pointing to the icon created by the exe.
It works ok if the icon is visible, but if the icon is hidden, the code to show the ballon, fails because dont find the icon.
i tried to 'force' the icon to show before send the message, using 'HideTrayIcon "dialog name" 0 ', but it seams its not working either!!
Any ideas?
I will explain my ideia and ask some help on this.
The final file is a generated exe.
At run time, i add a tray icon using 'AddTrayIcon' function to know that the program is running.
In a regular way, i want to show some messages using the ballon tooltip, pointing to the icon created by the exe.
It works ok if the icon is visible, but if the icon is hidden, the code to show the ballon, fails because dont find the icon.
i tried to 'force' the icon to show before send the message, using 'HideTrayIcon "dialog name" 0 ', but it seams its not working either!!
Any ideas?