Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can i remove applications from System Tray by my vb code?

Status
Not open for further replies.

rahmanjan

Programmer
Apr 13, 2003
180
0
0
AU
hi all,

I am trying to right a System Tray application. In one stage I need to be able to remove the Icons from the System Tray though the program is running.

How can i achieve remove the application icon from the System Tray while it is still running?

Any API function?

all the best.

regards,

rahman
 
Private Declare Function Shell_NotifyIcon Lib "shell32" Alias "Shell_NotifyIconA" (ByVal dwMessage As Long, pnid As NOTIFYICONDATA) As Boolean

Will this help?
[lol]



The pen is mightier than the sword - and quite frankly . . easier to write with
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top