Version: |
1.2, Superseded in 6.0 - See Notes. |
Description: |
Sends a right button down message to Visual CADD™ effectively selecting a coordinate for a tool, or selecting an entity. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCRButtonDown(long lParam, WORD wParam); |
Delphi |
procedure VCRButtonDown(lParam: Longint; wParam: Smallint); stdcall; |
ActiveX/COM |
Sub RButtonDown(ByVal lParam As Long, ByVal wParam As Integer) |
Parameters: |
lParam - a packed coordinate pair as used by Windows. |
Notes: |
For several versions, VCRButtonDown has not worked as designed to behave as if it were a right button click in the Visual CADD™ drawing area. As of version 5.0 and to be supported solely for legacy purposes in future versions, VCRButtonDown will run any script assigned to it as B3 in Assign Script, and if no script is assigned will run Snap Near Point. In particular, VCRButtonDown does not handle the Shift Right Click Menu toggle and the corresponding popup menu. New tools written for VCADD version 6 and later should use VCRButtonDownEx unless legacy behavior is required. |
See Also: |