Description | ||||||||
Reports the mouse position when the user presses one of the mouse buttons. It does not return until the user presses a button.
NOTE: You must check the return value to make sure the user did not select a command. |
||||||||
Replacement in Object TOOLKIT: | pfcSession::UIGetNextMousePick | |||||||
Synopsis | ||||||||
#include <ProGraphic.h> | ||||||||
ProError | ProMousePickGet | ( | ||||||
ProMouseButton expected_button | ||||||||
/* (In) | ||||||||
The identifier of the mouse button the user is expected to use to make the pick. If the user can pick with any button, use PRO_ANY_BUTTON. | ||||||||
*/ | ||||||||
ProMouseButton* button_pressed | ||||||||
/* (Out) | ||||||||
The identifier of the button used to make the pick. | ||||||||
*/ | ||||||||
ProPoint3d position | ||||||||
/* (Out) | ||||||||
The coordinates of the picked point. | ||||||||
*/ | ||||||||
) | ||||||||
Returns | ||||||||
|