This function returns information about a window or control.
cWndInfo( hWnd, request)
(i) hWnd Window or control handle.
(i) request Request code for desired information (see below).
(s) Desired Information.
Request codes
0 |
Title |
1 |
ID |
2 |
Class |
3 |
Parent |
4 |
First Sibling |
5 |
Previous Sibling |
6 |
Next Sibling |
7 |
Last Sibling |
8 |
First Child |
9 |
Owner |
20 |
Window style |
21 |
Window extended style |
22 |
Class style |
AddExtender("wwctl44i.dll",0,"wwctl64i.dll") ;Note: This example designed for Windows 95 ;Further note that this example shows how to navigate thru a tabbed dialog Run("rundll32.exe", "shell32.dll,Control_RunDLL netcpl.cpl") title="Network" titlewnd=DllHwnd("Network") tabtitle="Identification" While 1 thishwnd=cWndinfo(titlewnd,8) thistext=cWndinfo(thishwnd,0) If thistext==tabtitle Then Break SendKeysTo(title,"^{pgdn}") TimeDelay(0.5) EndWhile Message(tabtitle,"Activated") Exit