Product Logo

CNS Menu

Dynamic Menus

Functions

CNSMenu_GetMouseCoordinates

NameCNSMenu_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 TypeText
FormatCNSMenu_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”.

Example
Example 1

Returns the coordinates of the mouse based on the whole screen.

CNSMenu_GetMouseCoordinates( "screen" )