|
-
November 2nd, 1999, 01:57 AM
#1
Can I trap the Minimize action by the User in a Form
Hi,
I am working on a project that will be runing on a Win-NT server for all the time ie. 24 Hrs.
If the user minimizes the form the application has to be seen in the system tray some thing similar to Task Manager of Win-Nt.
Thanks in advance,
Britto
-
November 2nd, 1999, 03:28 AM
#2
Re: Can I trap the Minimize action by the User in a Form
You can use code similar to :
private Sub Form_Resize()
If me.WindowState = vbMinimized then
MsgBox "Window is minimized!"
End If
End Sub
- to trap the minimized state of the window. You can then use our own AndyK's code from
http://codeguru.developer.com/bbs/wt...age=0&Limit=25
to place an icon in the system tray.
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|