VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Loading an Icon To The Systray

by Jim Byrnes (3 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

Here are 2 small demos of loading an icon to the systray (system tray)
the first is Systray Basic, which is by the book and includes the Public Declare Function, "SetForegroundWindow Lib "user32" _
(ByVal hwnd As Long) As Long". This declare basically means if you click the icon in the systray to open the popup menu and then the click on something else besides the popup menu, this will close the popup menu. The second is a modified basic systray demo that I made that minimizes the form at startup and when it is maximized it is visible in the taskbar too. Both are commented. I have 2 other demos about icons in the systray as soon as I comment them i will share them. jim byrnes

Assumes
Here are 2 small demos of loading an icon to the systray (system tray) the first is Systray Basic, which is by the book and includes the Public Declare Function, "SetForegroundWindow Lib "user32" _ (ByVal hwnd As Long) As Long". This declare basically means if you click the icon in the systray to open the popup menu and then the click on something else besides the popup menu, this will close the popup menu. The second is a modified basic systray demo that I made that minimizes the form at startup and when it is maximized it is visible in the taskbar too. Both are commented. I have 2 other demos about icons in the systray as soon as I comment them i will share them. jim byrnes

Rate Loading an Icon To The Systray

Upload

Download this snippet    Add to My Saved Code

Loading an Icon To The Systray Comments

No comments have been posted about Loading an Icon To The Systray. Why not be the first to post a comment about Loading an Icon To The Systray.

Post your comment

Subject:
Message:
0/1000 characters