I've seen multiple icons with scolling text, I've seen single icons with illegible text but how, oh how, do I create an icon (or other) that displays legible text on the the systray of 6 characters in length?
The clock is part of the operating system, there's a special setting to display it in the properties of the "TaskBar And Start Menu".
I hope you remember to provide an easy way for the user to not have your icons display in the systray if they so desire - especially if you plan to use double the normal space. There's nothing more annoying to me than a program that puts itself in the systray and doesn't have a "Hide" option in it's shortcut menu.
>So how do you get things like the clock on the systray?
It has it's own window, completely seperate from the toolbar that holds the icons.
>2 icons side by side
If only we had such guaranteed control of the icon position. Unfortunately there's some padding space between the icons (and, because of the asynchronous way in which icons are added there is the remote possibility that your icons might not actually end up next to each other)
What you CAN do is send window messages to the underlying ToolbarWindow32 control to add your own icons (probably; I've not bothered going further than interrogating it for an icon count)- but you'd then have to do all the handling of messages yourself since it sure as heck wouldn't magically become a real system tray icon.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.