|
-
June 20th, 2008, 01:40 PM
#1
Systray icons
Hello,
I'd like to know how could i get the system tray icons in my app. Can anyone show me some solution?
Thanks
-
June 21st, 2008, 03:19 AM
#2
Re: Systray icons
Do you mean the NotifyIcon which is availasble in your Toolbox ¿
-
June 22nd, 2008, 02:47 AM
#3
Re: Systray icons
 Originally Posted by HanneSThEGreaT
Do you mean the NotifyIcon which is availasble in your Toolbox ¿
nope, i mean all the other programs' notification icons in the system tray. for example the volume indicator or the network status indicator which is putted there by windows...
-
June 22nd, 2008, 04:56 AM
#4
Re: Systray icons
 Originally Posted by geeq
nope, i mean all the other programs' notification icons in the system tray. for example the volume indicator or the network status indicator which is putted there by windows...
That is a 'NotifyIcon' that is used... Check out this app in VS 2005 for a working example of a how to use The 'Notifyicon'
Gremmy..
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
June 23rd, 2008, 11:16 AM
#5
Re: Systray icons
 Originally Posted by GremlinSA
That is a ' NotifyIcon' that is used... Check out this app in VS 2005 for a working example of a how to use The ' Notifyicon'
Gremmy..
No, that's not. I know how to use the NotifyIcon control in vb.net. I mean i want all the icons in the system tray and hide them. Not the one i add with my app but all the others added there from an other app.
-
June 24th, 2008, 05:47 AM
#6
Re: Systray icons
If we had know this, you most probably would have had the solution by now 
What you need to do is to use the FindWindow and FindWindowEx APIs to get access to the Shell_TrayWnd, which is the Notification area. You can also use the same APIs to then get access to TrayNotifyWnd, SysPager, ToolbarWindow32 inside Shell_TrayWnd.
I hope it helps
-
June 25th, 2008, 02:05 PM
#7
Re: Systray icons
well, i can get the hwnd of the systray and the notification area. The problem is that i need to get each and every icons and be able to act with them. Actually what i wanna do is a taskbar-like thing. And that's why i need the code for this. or at least some guide.
-
June 26th, 2008, 12:51 AM
#8
Re: Systray icons
Yes, that is where you'd need to use FindWindowEx then, to find the child windows inside Shell_TrayWnd. You need to specifically look at SysPager, ToolbarWindow32.
SHould I try to work out like a small sample for you ¿
-
June 26th, 2008, 10:03 AM
#9
Re: Systray icons
 Originally Posted by HanneSThEGreaT
Yes, that is where you'd need to use FindWindowEx then, to find the child windows inside Shell_TrayWnd. You need to specifically look at SysPager, ToolbarWindow32.
SHould I try to work out like a small sample for you ¿
Okay, i got window handle of the systray area but it has some toolstrip button like thingies which i don't know how to find.
A sample would be great, really great! Thanks;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|