June 2001
Intermediate to advanced
706 pages
24h 10m
English
FindWindow
Searches for the specified top-level window:
Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
lpClassName
A string that contains the window class name of the window being searched for
lpWindowName
A string that contains the window name of the window being searched for
Returns the hWnd of the first top-level window that matches the criteria. Returns if no windows match the specified criteria. If more than one window is found, it returns the window highest in the Z-order.
Read now
Unlock full access