Group: Window - Library: user32
The DestroyWindow function destroys the specified window. The function sends WM_DESTROY and WM_NCDESTROY messages to the window to deactivate it and remove the keyboard focus from it.
Placing a button on the VFP form as a new child window
Splash Screen for the VFP application
Using Common Controls: the Header Control
Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera
Placing On-screen Alert on top of all windows
How to make a VFP form fading out when released (GDI+ version)
How to make a VFP form fading out when released (GDI version)
Displaying hypertext links with the SysLink control (VFP9, Comctl32.dll)
Using Month Calendar Control (VFP9, Comctl32.dll)
Displaying dimmed window behind VFP top-level form
BOOL DestroyWindow(
HWND hWnd // handle to window to destroy
);
DECLARE INTEGER DestroyWindow IN user32;
INTEGER hWnd
hWnd [in] Handle to the window to be destroyed.
If the function succeeds, the return value is nonzero.
See also: EndTask, PostMessage.