Documentation
Download compressed HTML Help
     

Form functions


Functions

RANOREXCORE_API HWND RxFormFind (char *title, int titleMatchMode, char *className, BOOL activate=TRUE, int timeout=0)
 The function retrieves a handle to the top-level window whose title and class name match the specified strings. This function does not search child windows. This function performs a case-sensitive search. To search child windows, use the FormFindChild... functions. If an application cannot find a windows, the function return zero.
RANOREXCORE_API HWND RxFormFindTitle (char *title, int titleMatchMode=MATCH_EXACT, BOOL activate=TRUE, int timeout=0)
 The function retrieves a handle to the top-level window whose title match the specified strings. This function does not search child windows. This function performs a case-sensitive search. To search child windows, use the FormFindChild... functions. If an application cannot find a windows, the function return zero.
RANOREXCORE_API HWND RxFormFindClassName (char *className, int classInstance=1, BOOL activate=TRUE, int timeout=0)
 The function retrieves a handle to the top-level window whose classname and classInstance match the specified arguments. This function does not search child windows. This function performs a case-sensitive search. To search child windows, use the FormFindChild... functions. If an application cannot find a windows, the function return zero.
RANOREXCORE_API BOOL RxFormActivate (HWND hWndForm)
 The function activates the window with the given handle.
RANOREXCORE_API HWND RxFormGetActive (void)
 The function returns a handle to the active (foreground) window, the window with which the user is currently working.
RANOREXCORE_API HWND RxFormFindChildText (HWND hWndForm, char *text, int textMatchMode=MATCH_EXACT)
 The function retrieves a handle to the window whose text match the specified strings. This function searches a child windows of the form, performs a case-sensitive search. If no child window can be found with the specified text, the function return zero.
RANOREXCORE_API HWND RxFormFindChildClassName (HWND hWndForm, char *className, int classInstance=1)
 The function retrieves a handle to the child window whose classname and classinstance match the specified strings. This function searches a child windows of the form, performs a case-sensitive search. If no child window can be found with the specified classname and instance number, the function return zero.
RANOREXCORE_API HWND RxFormFindChildControlName (HWND hWndForm, char *controlName)
 The function retrieves a handle to the child window whose control name match the specified strings. This function performs a case-sensitive search. If no child window can be found with the specified control name, the function return zero.
RANOREXCORE_API HWND RxFormFindChildControlId (HWND hWndForm, int controlId)
 The function retrieves a handle to the child window with the specified control Id. If no child window can be found with the specified control Id, the function return zero.
RANOREXCORE_API HWND RxFormGetFirstChild (HWND hWndForm)
 The function retrieves the handle of the first child window in a form.
RANOREXCORE_API HWND RxFormGetNextChild (HWND hWndForm, HWND hWndStart)
 The function retrieves the handle of the next child window in a form.
RANOREXCORE_API int RxFormClose (HWND hWndForm)
 Terminate form. If a form processes this message, the function return zero.
RANOREXCORE_API int RxFormActivateMdiChild (HWND hWndForm)
 The function activates an Mdi child of the window. If no Mdi child window can be found, the function returns zero.

Detailed Description

Form functions
Documentation based on Ranorex Version 1.5.0 - www.ranorex.com