 |
FindWindow ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves a handle to the top-level window whose class name and window name match the specified strings. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HWND FindWindow(
LPCTSTR lpClassName, // class name
LPCTSTR lpWindowName // window name
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER FindWindow IN user32;
STRING lpClassName,;
STRING lpWindowName
|
 |
 |
 |
| Parameters: |
 |
lpClassName
[in] Pointer to a null-terminated string that specifies the class name.
lpWindowName
[in] Pointer to a null-terminated string that specifies the window name (the window"s title). |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a handle to the window that has the specified class name and window name. If the function fails, the return value is NULL. |
 |
 |
| Word Index links for the FindWindow : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-08-04 12:00:00 | | Modified: | 2001-12-31 18:15:45 | Visited in last 7 days: 94 |