Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Minimize all forms


Private Declare Sub keybd_event Lib "user32"  ( ByVal bVk As Byte , _
        ByVal bScan As Byte , ByVal dwFlags As Long , ByVal dwExtraInfo As Long )

Call keybd_event(&H5B, 0, 0, 0)
Call keybd_event(&H4D, 0, 0, 0)
Call keybd_event(&H5B, 0, &H2, 0)