Gets the window handle of the first window whose window name matches the specified 'partial window name'.
cFindbyName(partial-name)
(s) partial-name Partial window name.
(i) window-handle Windows handle.
cFindByName returns the windows handle of the first window whose name matches the specified "partial-name". All top-level and child windows are searched. 0 is returned, if no window includes the partial window name in its title.
See "Partial Window Names" for a detailed explanation of the rules governing, partial window names.
AddExtender("wwctl44i.dll",0,"wwctl64i.dll") ; Find a button handle sAppWndName = "About YA" hWnd = cFindByName(sAppWndName) hWnd = cWndbyname(hWnd, "Evaluate") If !cClickButton( hWnd ) Exit EndIf
DllHwnd, cWndByName