 |
GetAncestor ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The GetAncestor function retrieves the handle to the ancestor of the specified window. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HWND GetAncestor(
HWND hwnd, // handle to window
UINT gaFlags // ancestor
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetAncestor IN user32;
INTEGER hwnd,;
INTEGER gaFlags
|
 |
 |
 |
| Parameters: |
 |
hwnd
[in] Handle to the window whose ancestor is to be retrieved. If this parameter is the desktop window, the function returns NULL.
gaFlags
[in] Specifies the ancestor to be retrieved. |
 |
 |
| Return value: |
 |
| The return value is the handle to the ancestor window. |
 |
 |
| Word Index links for the GetAncestor : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-01-25 21:00:15 | | Modified: | 2002-01-25 21:01:28 | Visited in last 7 days: 18 |