Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Intermediate
Aug 7, 1997

Close Your Windows the Windows 95 Way

Place this code in the declaration section of a module:
 
Public Sub Win95Shrivel(xForm As Form)
        ' Sets the form's window status to 
        ' minimized
        xForm.WindowState = 1
End Sub
Call it from the Unload procedure within a Form:
 
Private Sub Form_Unload(Cancel As _
        Integer)
        Win95Shrivel Me
End Sub
Each time a form is unloaded, the form appears to fade to the task bar and then disappears. This tip also works on a Windows 3.1x machine as well.
Andy McInturff
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date