[Implemented] Change Systray Icon
Posted: Fri Nov 09, 2001 8:39 pm
Restored from previous forum. Originally posted by Franco.
Hi,
I like to have a command so a icon in the Systray can be changed.
Tryed it with my own commands(API) but I can only create Systray Icon's, not change it...
Also tryed to set the tooltip for it and I get errors with the NAsm structure NOTIFYICONDATA because 'szTip' is declared as binary instead of String (maybe because of the fixed lenght of 64 byte)
Don't get it to create a string and convert it as binary and fill 'szTip' with it.
I have builded my own structure and declared 'szTip' as string and the tooltip appears, but the string is wrong (3 strange chars)
How to do that in PureBasic?
BTW it would be nice to have also the possibility to change the app icon (like email clients when they sign on that a new mail is arrived).
And it would be nice to have tooltips for buttons or for all gadgets.
Have a nice day...
Franco
Hi,
I like to have a command so a icon in the Systray can be changed.
Tryed it with my own commands(API) but I can only create Systray Icon's, not change it...
Also tryed to set the tooltip for it and I get errors with the NAsm structure NOTIFYICONDATA because 'szTip' is declared as binary instead of String (maybe because of the fixed lenght of 64 byte)
Don't get it to create a string and convert it as binary and fill 'szTip' with it.
I have builded my own structure and declared 'szTip' as string and the tooltip appears, but the string is wrong (3 strange chars)
How to do that in PureBasic?
BTW it would be nice to have also the possibility to change the app icon (like email clients when they sign on that a new mail is arrived).
And it would be nice to have tooltips for buttons or for all gadgets.
Have a nice day...
Franco