Oracle NCA Vuser Functions (NCA) > Alphabetical List of Functions > nca_obj_mouse_click

nca_obj_mouse_click

Example: nca_obj_mouse_click Object Functions

Clicks on an object.

int nca_obj_mouse_click( LPCSTR object, int x, int y, unsigned char modifier );
object The logical name of the object. The object may belong to any class.
x, y The position of the mouse click expressed as x and y (pixel) coordinates. Coordinates are relative to the upper left corner of the GUI object.
modifier A keyboard modifier. The available values are MODIF_SHIFT, MODIF_CONTROL, MODIF_ALT or 0 (default).

The nca_obj_mouse_click function clicks the mouse at the specified coordinates inside the object.

Return Values

Oracle NCA Error Codes

Parameterization

The following argument(s) can be parameterized using standard parameterization: object, x, y