Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Minimize my application on a computer
Message
From
12/12/2000 21:15:56
 
 
To
12/12/2000 21:02:00
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00452675
Message ID:
00452685
Views:
25
>I know Minimize all applications on a computer.
>VFP coding,
>#Define KEYEVENTF_KEYUP 0x2
>#Define VK_LWIN 0x5B
>
>DECLARE keybd_event IN Win32API ;
> INTEGER nVirtualKey, ;
> INTEGER nScanCode, ;
> INTEGER nFlags, ;
> INTEGER nExtraInfo
>
>= keybd_event(VK_LWIN, 0, 0, 0)
>= keybd_event(77, 0, 0, 0)
>= keybd_event(VK_LWIN, 0, KEYEVENTF_KEYUP, 0)
>
>But, I don't know how to Minimize my application on a computer.
>the other applications is not Minimize on a computer.

How about:

thisform.WindowState = 1 && Minimize this form
_SCREEN.WindowState = 1 && Minimize main VFP window
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform