|
WINDOW.Get |
|
|
hWnd = WINDOW.Get( [strWindowTitle AS STRING=NULL], [bTrimTitle AS INTEGER=TRUE] ) AS HANDLE
hWnd = WINDOW.Get( [nType AS INTEGER=VIEW_ANY], [nNumber AS INTEGER=1], [hWindow AS HANDLE=NULL] ) AS HANDLE
Returns the handle to the specified window. The window is identified using the Window text or the window number (Base 1). If the window number is 0, then the active window is returned. A window type can also be specified
Type Constants included in MaxA.BIS
CONST VIEW_ANY = 0xFFFF CONST VIEW_MAIN = 0x0001 CONST VIEW_GRID = 0x0002 CONST VIEW_ANALYSIS = 0x0004 CONST VIEW_CONTROL = 0x0100
|