19.1.1 Window operations
The API functions below allow the application to perform operations on windows and controls. These operations include finding a window, setting the focus on a specific control, and setting the status of a check box or radio button.
API function name |
Description |
---|---|
AIT_FocusWindow |
Finds the window, and sets the focus on it. |
AIT_ExistWindow |
Checks whether the window exists. |
AIT_MinWnd |
Minimizes the window. |
AIT_SetWndPos |
Changes the position of the specified window. |
AIT_SetWndPosSize |
Changes the position and size of the specified window. |
AIT_GetWindowText |
Acquires the title of the specified window. |
AIT_SetActWnd |
Activates the window. |
AIT_GetCtrlText |
Acquires text from the window control. |
AIT_CtrlSetFocus |
Sets the focus on the control. |
AIT_SetSpinPos |
Sets the position of the spin or slider control. |
AIT_SetScrollPos |
Sets the position of the scroll bar. |
AIT_CtrlClick |
Performs a mouse click on the control. |
AIT_SelectMultipleListItem |
Selects multiple items in the list. |
AIT_SelectListItem |
Selects an item in the list. |
AIT_SelectIPAddressField |
Selects the IP address field. |
AIT_SelectText |
Selects the text of the control. |
AIT_DefaultButtonCount |
Acquires the number of default buttons. |
AIT_SetCheck |
Sets the status of the radio button or check box. |
AIT_CtrlItemCount |
Acquires the number of control items. |
AIT_GetIndexText |
Acquires text from the index. |
AIT_CtrlItemIndex |
Acquires the index of the text. |
AIT_GetIndexTextLen |
Acquires the character length for a 0-based index character string. |
AIT_SetKeyState |
Sets the key status. |
AIT_GetKeyState |
Acquires the key status. |
AIT_MouseClick |
Performs a mouse click. |
AIT_MouseUp |
Performs a mouse release. |
AIT_MouseDown |
Holds down the mouse button. |
AIT_MouseMoveTo |
Moves the mouse pointer. |
AIT_MouseDragDrop |
Performs a mouse drag-and-drop operation. |
AIT_MouseDblClk |
Performs a mouse double-click. |
AIT_SetComboEditSelText |
Selects text in the combo box. |
AIT_ComboBoxCloseUp |
Performs a close-up operation on the combo box. |
AIT_ComboBoxDropDown |
Performs a drop-down operation on the combo box. |
AIT_GetEditFirstLineIndex |
Acquires the index of the first line in the edit box. |
AIT_GetEditCurrentLineIndex |
Acquires the index of the current line in the edit box. |
AIT_GetCtrlTextLen |
Acquires the length of the control text. |
AIT_GetEditTextLineLen |
Acquires the length of the line in the edit box. |
AIT_GetDtPickerTime |
Acquires the time from the date/time picker. |
AIT_GetDtPickerDate |
Acquires the date from the date/time picker. |
AIT_SetDtPickerTime |
Sets a time with the date/time picker. |
AIT_SetDtPickerDate |
Sets a date with the date/time picker. |
AIT_GetMenu |
Acquires a menu handle. |
AIT_GetSubMenu |
Acquires a sub-menu handle. |
AIT_GetMenuText |
Acquires a menu text. |
AIT_GetMenuIndex |
Acquires the menu index. |
AIT_MenuItemClick |
Clicks on the specified menu item. |