Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close a window by a API ?
Message
From
08/08/1999 10:35:50
 
 
To
07/08/1999 21:17:42
General information
Forum:
Visual Basic
Category:
Windows API functions
Miscellaneous
Thread ID:
00251184
Message ID:
00251242
Views:
9
>I would like to know how to close a window with a API?

Take a look at the SendMessage() and PostMessage() API calls; if you have an hWnd for the window that you want to close, you can issue a WM_CLOSE message.
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
Next
Reply
Map
View

Click here to load this message in the networking platform