findwindow..setwindowpos...这两个API就可以了@_@

解决方案 »

  1.   

    9494! Win+D  or  Win+M  都行
    下面的例子就是使用keybd_event这个api函数模拟按下键盘 Win+M,实现最小化窗口Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
    Const KEYEVENTF_KEYUP = &H2
    Const VK_LWIN = &H5B    ' 77 is the character code for the letter 'M'
        Call keybd_event(VK_LWIN, 0, 0, 0)
        Call keybd_event(77, 0, 0, 0)
        Call keybd_event(VK_LWIN, 0, KEYEVENTF_KEYUP, 0)