|
|
Comments and Discussions
|
|
 |

|
Hello,
First, excuse my bad english (it's not my native language, I'm French).
Then, I'm a studient and I have to create a programm which could hide/unhide any icons in the systray (even extern processes' icons) in VB or in C/C++. Do you know a way to do it?
|
|
|
|

|
:(How to enumerate the icons in the Systray???And How to Get the programe who founds the button in systray? for instance,sound Icon and its button,who founds them??? how to get?
|
|
|
|

|
I can suggest one more approach (not perfect, but worth considering, I think).
Having found the tray window you can send WM_MOUSEMOVE to it with different coordinates trying to guess the icon location. As soon the message is forwarded to your application (wrapped in the message specified when calling Shell_NotifyIcon) you have found it.
Regards,
Sergei.
|
|
|
|
|

|
Oops! Sorry, somehow I have missed that part.
|
|
|
|

|
Thanks to the article,I acquired some knowledges from this.but I have a problem:how to get the tip of the icon in the system tray, and how to get the index of the certain icon in the system tray?
|
|
|
|

|
if the taskbar is hided the arrow of the balloontip appears outside screen, and it should call the taskbar up, like any normal infotips displayed in the taskbar (eg. see how the XP SP2 security warning does). This ballon instead points to the outside of the screen and it's not painted entirely.
otherwise it's a great control.
|
|
|
|

|
I would like to force my tray icon to be always the first in tray.
How can I achieve that ?
|
|
|
|

|
you can modify a direct traking metchod to check if your icon is the first in the toolbar and when it's not - just remove it and then add again - It will land at the first position.
Check out my software at: http://www.ireksoftware.com
|
|
|
|

|
Sounds like a race condition if 2 apps starts doing this
- thomasa88
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
Ever wanted to know position of your tray icon? Windows supplies no API for that. This class is a compact solution that works.
| Type | Article |
| Licence | CPOL |
| First Posted | 20 Feb 2003 |
| Views | 171,162 |
| Downloads | 4,418 |
| Bookmarked | 81 times |
|
|