tailieunhanh - IT-Programing Help part 120

Tham khảo tài liệu 'it-programing help part 120', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Local t 2 If IsArray c and IsArray w and IsArray e Then t 0 c 0 w 0 e 0 x_adjust t 1 c 1 w 1 e 1 y_adjust Return t absolute screen coords of caret cursor Else SetError 1 EndIf EndFunc Function Reference WinGetClassList Retrieves the classes from a window. WinGetClassList title text Parameters title The title of the window to read. See Title special definition. text optional The text of the window to read. Return Value Success Returns a string containing the window classes read. Failure Returns and sets @error to 1 if no window matches the criteria. Remarks Class names are linefeed @LF separated. WinGetClassList works on both minimized and hidden windows. Up to 64KB of text can be retrieved. If multiple windows match the criteria the classes are read from the most recently active window. Related WinGetText ControlCommand Example text WinGetClassList Untitled - MsgBox 0 Text read was text Function Reference WinGetClientSize Retrieves the size of a given window s client area. WinGetClientSize title text Parameters title The title of the window to read. See Title special definition. text optional The text of the window to read. Return Value Success Returns a 2-element array containing the following information array 0 Width of window s client area array 1 Height of window s client area Failure Returns 0 and sets @error to 1 if windows is not found. Remarks If the window is minimized the returned width and height values are both zero. However WinGetClientSize works correctly on non-minimized hidden windows. If the window title Program Manager is used the function will return the size of the desktop. If multiple windows match the criteria the most recently active window is used. Related WinGetPos WinMove Example size WinGetClientSize active MsgBox 0 Active window s client size is width height size 0 size 1 Function Reference WinGetHandle Retrieves the internal handle of a window. WinGetHandle title text Parameters title The title of the window to read. See Title special

TÀI LIỆU LIÊN QUAN
10    158    1
6    184    1
7    162    1
5    157    1
6    160    1
6    152    1
6    150    1
6    206    1
7    154    1