<- Back to CNS Menu function list
CNSMenu_GetMouseCoordinates
- Description
This function retuns the cordinates of the mouse. The optional parameters are "layout" and "screen". The "layout" parameter returns the cordinates of the mouse in relation to the layout, and the "screen" parameter is in relation to the whole screen. If no parameter is defined, the default setting is "layout".
- Return Type
- Text
- Format
- CNSMenu_GetMouseCoordinates ( Scope )
- Optional Parameters
- Scope
Use either "layout" or "screen". The "layout" parameter returns the cordinates of the mouse in relation to the layout, and the "screen" parameter is in relation to the whole screen. If no parameter is defined, the default setting is "layout".
- Scope
- Related Items
- CNSMenu_GetMenuChoice, CNSMenu_GetMenuName, CNSMenu_GetMenuValue, CNSMenu_GetMouseButton
- Example
Code:
CNSMenu_GetMouseCoordinates("screen")Result:
Returns the coordinates of the mouse based on the whole screen.