Discussion:
Setting EnableAutoTray
(too old to reply)
Chris Sutcliffe
2011-05-17 01:18:31 UTC
Permalink
In Windows 7 I'm programmatically setting EnableAutoTray to 0 (in
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer)
and it is taking affect (i.e. when I open the "Notifications Area"
control panel item I see "Always show all icons" is set), however it
has no affect until I restart Explorer. Is there some way to notify
Explorer of the change so that it takes effect immediately?

Thank you,

Chris
Dee Earley
2011-05-17 10:47:22 UTC
Permalink
Post by Chris Sutcliffe
In Windows 7 I'm programmatically setting EnableAutoTray to 0 (in
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer)
and it is taking affect (i.e. when I open the "Notifications Area"
control panel item I see "Always show all icons" is set), however it
has no affect until I restart Explorer. Is there some way to notify
Explorer of the change so that it takes effect immediately?
Surely it is down to Explorer and the user how it is configured?
If your app is important enough that it must always be shown then ask
the use to change it.

Settings internal to Explorer are exactly that, there are no documented
methods to change them.
--
Dee Earley (***@icode.co.uk)
i-Catcher Development Team
http://www.icode.co.uk/icatcher/

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)
Chris Sutcliffe
2011-05-17 13:33:20 UTC
Permalink
Post by Dee Earley
Post by Chris Sutcliffe
In Windows 7 I'm programmatically setting EnableAutoTray to 0 (in
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer)
and it is taking affect (i.e. when I open the "Notifications Area"
control panel item I see "Always show all icons" is set), however it
has no affect until I restart Explorer.  Is there some way to notify
Explorer of the change so that it takes effect immediately?
Surely it is down to Explorer and the user how it is configured?
If your app is important enough that it must always be shown then ask
the use to change it.
Typically I would agree, what I am trying to do is get the tray icon
count via the TB_BUTTONCOUNT message, however it only provides the
count of visible icons. If there is another way to get the full count
of tray icons without first making them visible, I'd greatly
appreciate some guidance on how to do so.

Thank you,

Chris

Continue reading on narkive:
Search results for 'Setting EnableAutoTray' (Questions and Answers)
4
replies
Taskbar Missing?
started 2007-11-12 13:57:18 UTC
software
Loading...