4.1.2 Check operations

The API functions below allow the application to carry out check operations such as checking the existence and status of a control, and checking whether the focus is set on the control.

API function nameDescription
AIT_VerifyExistenceChecks whether the control exists.
AIT_VerifyEnabledChecks whether the control can be used.
AIT_VerifyFocusChecks whether the focus is set on the control.
AIT_VerifyStateChecks the status of the control.
AIT_VerifyCharPosChecks the position of the character string of the control.
AIT_VerifyLineChecks the index of the line.
AIT_VerifyTextChecks for the specified text.
AIT_VerifySelectedChecks for the text selected in the edit box.
AIT_VerifyFirstVisibleChecks the first visible item of the control.
AIT_VerifyCountChecks the number of items.
AIT_VerifyPosChecks the position of the control.
AIT_VerifyIndexChecks the index of the control.
AIT_VerifyLocationChecks the position of the control.
AIT_VerifyDateTimeChecks date or time value for the control.
AIT_VerifyKeyStateChecks the status of the key.
AIT_VerifyDefaultButtonChecks the style of the default button.
AIT_VerifyNoOfCtrlsChecks the number of controls in the window.
AIT_VerifyMenuCheckedChecks whether the menu item is selected.
AIT_VerifyMenuEnabledChecks whether the menu item can be used.