 |
GetWindow ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The GetWindow function retrieves the handle of a window that has the specified relationship to the specified window. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HWND GetWindow(
HWND hWnd, // handle of original window
UINT uCmd // relationship flag
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetWindow IN user32;
INTEGER hwnd,;
INTEGER wFlag
|
 |
 |
 |
| Parameters: |
 |
hWnd
Identifies a window
uCmd
Specifies the relationship between the specified window and the window whose handle is to be retrieved |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a window handle |
 |
 |
| Usage: |
 |
IF ThisForm.ShowWindow= 2
THIS.hWindow = GetWindow(ThisForm.hWnd, GW_CHILD)
ELSE
THIS.hWindow = ThisForm.HWnd
ENDIF
|
 |
 |
| Word Index links for the GetWindow : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-07-12 12:00:00 | | Modified: | 2009-09-29 14:32:19 | Visited in last 7 days: 69 |