Group: Window - Library: user32
The GetWindow function retrieves the handle of a window that has the specified relationship to the specified window.
Listing child windows for the Windows desktop
Simple Window Viewer
Retrieving top-child window for the VFP form
Terminating all running applications from a VFP program
Minimizing all running applications
Scanning the hierarchy of child windows down from the main VFP window
Extended MessageBox Class
How to change the name and the size of the font in the MessageBox dialog
Customizing the frame of top-level form: removing the standard frame (VFP9, Vista)
Obtaining names and positions for shortcuts located on the Windows Desktop
Moving shortcut to a specified position on the Windows Desktop
GDI+: custom control, base class
HWND GetWindow(
HWND hWnd, // handle of original window
UINT uCmd // relationship flag
);
DECLARE INTEGER GetWindow IN user32;
INTEGER hwnd,;
INTEGER wFlag
hWnd Identifies a window
uCmd Specifies the relationship between the specified window and the window whose handle is to be retrieved
If the function succeeds, the return value is a window handle