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
Upload