Hi!
VB6 form object have a property for that (show form in taskbar or not), but I do not know for sure if you can use it in run-time in event when form is minimized. There is a way also to do this by API functions, but I do not remember exactly how to do this ;(
>Thanks Vlad!
>
>How if I only want the icon shown in system tray, and hide the box in taskbar, no matter when running the program or have it minimized?
>
>Jimi
>
>>Hi!
>>
>>Go to the
http://www.allapi.net and check samples there. In particular, I just typed "Tray" as a serach criteria for samples and got a lot of pages, include following simple sample:
>>
>>
http://www.allapi.net/apilist/example.php?example=Tray%20Icon>>
>>There are also more advanced things with tray icons (like interacting with events of tray icon, for example, to show the shortcut menu when user clicks on a tray icon). I can help you in these to explain them if you will not find samples.
>>
>>>Hi,
>>>
>>>I want to hide my program and just show an icon in the system tray, but the example in download section is not available anymore, could someone please guide me a way to get an example? This is my first time to program with VB so studying before hand is a must :P
>>>
>>>Jimi
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.