VCRButtonDownEx


Version:

6.0

Description:

Sends a right button down message to Visual CADD™ to behave as if it were a right button click in the Visual CADD™ drawing area.

Declaration:

 

C/C++

extern "C" void WINAPI VCRButtonDownEx(long lParam, WORD wParam);

Delphi

procedure VCRButtonDownEx(lParam: LongInt; wParam: SmallInt); stdcall;

ActiveX/COM

Sub RButtonDownEx(ByVal lParam As long, ByVal wParam As short)

Parameters:

lParam - a packed coordinate pair as used by Windows.
wParam - passed by Windows functions to represent the identifier of the mouse message.

Return Value:

None.

iError Code:

None.

Notes:

VCRButtonDownEx invokes the same behavior as a right button click in the drawing area of the Visual CADD™ user interface.  As of version 6, the user interface behavior of a right button click in the Visual CADD™ drawing area is to run any script assigned to the right mouse button as B3 in Assign Script, and if no script is assigned then handle the Shift Right Click Menu toggle and display the corresponding popup menu if appropriate, otherwise run Snap Near Point.  Note that the Visual CADD™ user interface behavior of the right button click may change in future versions and it is by design that VCRButtonDownEx will change accordingly and continue to have the same behavior as in the user interface.

Refer to Windows documentation of WM_RBUTTONDOWN for discussion of the parameters passed to VCRButtonDownEx.

See Also:

VCScriptAssignRibalog, VCSetShiftClick, VCPopupButton, VCSnapNearPoint, VCLButtonDown, VCMButtonDownEx