Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving Icon from Taskbar to Icon Tray on Windows Taskbar
Message
From
19/09/1997 15:31:29
Kent Asberg
Beacon Information Ab
Vellinge, Sweden
 
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00050422
Message ID:
00050772
Views:
21
>>>>When running my VB apps, I would prefer that they are not shown as a button on the windows taskbar but as an Icon on the winows taskbar Icon tray. Does anyone know how to do this? Thanks in advance for any help. >>> >>>there are a few articles on this on msdn. i was looking at them yesterday and the examples are in vb. unfortunatly i couldn't get them to work in vfp ( my goal ) but if the examples work, you should be good to go. >>> >>>search for Shell_NotifyIcon, NotifyIconData, System Tray >> >>Thanks for your help, >> >>My goal is also too get this to work in VFP. I just wanted a VB example to go by. Thanks. If i get it to work I wil let you know. > >great. >i've successfully used several api calls however none that deal with structures. i was using arnon's struct.vcx to pack the structure for notifyicondata into a fox string. i'm pretty sure i was doing it right. the window handle parameter was easy but i'm not sure about the icon handle. >let me know if you figure it out and i will do the same for you. i probably won't be able to get back to it for the next few days. >gray ________ Hi,

I'm using an API based solution for the Tray Icon operation (one API function).
No OCX's used.
The source origins from an internet resource which I'm trying to track.

Having seen a lot of search for such code in various mailing lists and newsgroups I fetched the necessary pieces of code from my application and compiled a sample called BeaTray.vbp.
Including the compiled VB5 exe it is a zipped file about 20 Kb in size.

If You would like the project file, please tell me.

Kent Åsberg
Kent
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform