devxlogo

July 15, 2000

MaxSystemColors – The number of screen colors

Private Declare Function GetDesktopWindow Lib “user32” () As LongPrivate Declare Function GetDC Lib “user32” (ByVal hWnd As Long) As LongPrivate Declare Function ReleaseDC Lib “user32” (ByVal hWnd As Long, _

Let the user copy floppy disks

The simplest way to help user copy a floppy disk is display the Copy Disk system dialog. You can do this with a one-line statement: Shell “rundll32.exe diskcopy.dll,DiskCopyRunDll 0,0”

MinimizeAllWindows – Minimize and restore all windows

Private Declare Function FindWindow Lib “user32” Alias “FindWindowA” (ByVal _ lpClassName As String, ByVal lpWindowName As String) As Long Private Declare Function SendMessage Lib “user32” Alias “SendMessageA” (ByVal _ hwnd