Graphisoft®

Dialog ManagerVersion: 2.0

MousePosData::GetMouseOffset

Retrieves the mouse position.

Point GetMouseOffset (void) const;

Return Value

A Point, that specifies the mouse position. If there was no valid data retrieving, it is a (0,0) point.

Description

Retrieves the mouse position, at the moment of the mouse information request. The position is relative to the client rectangle. If the mouse was above an item, the client rectangle is the item's bounding rectangle, otherwise the dialog client rectangle.