Description | |||||||||||
Reports the current mouse position immediately, regardless of whether any buttons are pressed. | |||||||||||
Replacement in Object TOOLKIT: | pfcSession::UIGetCurrentMouseStatus | ||||||||||
Synopsis | |||||||||||
#include <ProGraphic.h> | |||||||||||
ProError | ProMouseTrack | ( | |||||||||
int options | |||||||||||
/* (In) | |||||||||||
The mouse tracking options. Supply one or more of the PRO_MOUSETRACK_OPT constants OR'd together for this argument. This bitmask allows you to track using grid snap, and also to allow viewing operations using the middle mouse button while tracking. If options is 0, the function returns the exact mouse coordinates while disabling all viewing operations (this is the usual type of call). | |||||||||||
*/ | |||||||||||
ProMouseButton* button_pressed | |||||||||||
/* (Out) | |||||||||||
Specifies which mouse buttons were pressed. | |||||||||||
*/ | |||||||||||
ProPoint3d position | |||||||||||
/* (Out) | |||||||||||
The logical window coordinates of the current mouse position. | |||||||||||
*/ | |||||||||||
) | |||||||||||
Returns | |||||||||||
|