System Tray Icon Size
Date: Sat, 04 Aug 2007 20:28:05 -0500
Eric wrote:
Is it possible to create a system tray icon larger than 16x16? I have code
that works but only creates a 16x16 tray icon. I tried to increase the size to 24x24 but its ignored and still shows up as 16x16.
that works but only creates a 16x16 tray icon. I tried to increase the size to 24x24 but its ignored and still shows up as 16x16. The shell will display notification icons at whatever size _it_ chooses to. If it decides to show icons at all. Your program doesn t really have any say in the matter. Not in current versions, anyway. Future versions might provide for other icon sizes, or maybe other image types and shapes. But today, you only get to specify an HIcon value, and how the shell displays it is up to the shell.
My app writes text on
the icon instead of an image(as such) and at 16x16 i can only fit 2
readable characters on it, I d like to have 4 characters so that s why I d
like to go to a wider icon. BTW: How does the system tray clock get so much
room? Probably i would need to use whatever technique that is using.
The technique it s using is simply that the clock is built in to the notification area. The clock gets room because Explorer wants it to get room. It s the same as asking why, in your program, a button appears at a particular place -- because it s your program and you put it there. The clock isn t a notification icon, and thus it s not subject to notification-icon rules. And it s not just the clock that goes there. Make the taskbar two units high (or perhaps put the taskbar on a different edge of the screen) and you get the day and date, too.
Rob
.
References:
system tray icon size
From: Eric
From: Eric
Prev by Date: Re: Newbie question: Object cast as integer: what is it?
Next by Date: Re: Newbie question: Object cast as integer: what is it?
Previous by thread: Re: system tray icon size
Next by thread: Newbie question: Object cast as integer: what is it?
Index(es):
Date
Thread
Relevant Pages
[kde] Re: corrupted minute hour hands on any analog clock
. Can anyone explain why the minute hour hands on any analog clock I . I haven t seen the icon issues you mention, . graphics bug in the icons too, in addition to the kde bug there was in . only happening to the kde icons is a big hint to me that it s that kde .
(KDE)
Re: [opensuse] openSUSE 11. 0 system time unstable and trash bin icon is missing
. It seems that is a problem with system clock. . trashbin icon was missing from the desktop. . Right click on icon, select properties, click on document icon that replaced . It will open icon selection dialog. .
(SuSE)
Re: [SLE] closing a window running a bash script
. you may want to check your clock. . I am executing from an icon. . Now when you run the icon, it will come up with the password prompt for the . root password, won t open a terminal session, and you re done. .
(SuSE)
Re: Popup notification for incoming emails
. icon is inactive. . Right-click the clock, then click Customize Notification Icons. .
(microsoft. public. windows. vista. mail)
Diablo 2 Druid Stat Distribution Montana Classic Trike