VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

clsSysTray.cls

Martin Richardson  (1 Submission)   Miscellaneous   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

A simple class to very easily minimize an application to, or to just create an icon in, the system tray. UPDATED & FIXED 6/25/1999 - Added new properties and fixed various things. If you have gotten this code before, please get it again (yes, it actually works now!). Read the comments for instructions.

Assumes
This code must go in a CLASS module. The Class module name must be "clsSysTray" for the sample code provided to work. This class instantiates an instance of the PictureBox control on the fly. VB 5 does not support this, so you have to add a picturebox to the form to minimize and call it "pichook" for this to work, as well as set the VB_VERSION constant in the code to be 5.

Returns
Nothing

Rate clsSysTray.cls (17(17 Vote))

Download clsSysTray.cls

clsSysTray.cls Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters