WINDOW.GetControl

Previous  Next

 

hControl = WINDOW.GetControl( hWindow  AS HANDLE,

                             strTitle AS INTEGER ) AS HANDLE

 

hControl = WINDOW.GetControl( hWindow AS HANDLE,

                            [nNumber AS INTEGER=1],

                            [nType   AS INTEGER=-1] ) AS HANDLE

 


 

Returns the handle to the specified control.  The control can be referenced as the title/name of the control or by type and number.

 

Types are defined as:

 

CONST CTRL_ANY          = 0xFFFF

CONST CTRL_GRAPH        = 0x0001

CONST CTRL_GRID         = 0x0002

CONST CTRL_D3D          = 0x0004

CONST CTRL_VIDEO        = 0x0008