Version: |
1.2 |
Description: |
Sends a left button down message to Visual CADD™ effectively selecting a coordinate for a tool, or selecting an entity. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCLButtonDown(long lParam, WORD wParam); |
Delphi |
procedure VCLButtonDown(lParam: Longint; wParam: Smallint); stdcall; |
ActiveX/COM |
Sub LButtonDown(ByVal lParam As Long, ByVal wParam As Integer) |
Parameters: |
lParam - a packed coordinate
pair as used by Windows. |
Notes: |
All mouse subroutines as passed by Windows function pass the coordinate
values through a lParam structure which contains the x and y coordinates
and other pertinent information not used by Visual CADD™. Also included
is a wParam which contains any modifiers to the mouse movement such as
the state of the shift, ctrl, and alt keys. These may or may not be used
by Visual CADD™ to modify the results of the mouse movements depending
on the current context in the application. Whenever an external application
receives a left button down message in the drawing area, the application
should send the VCLButtonDown message to Visual CADD™ in order to invoke
the expected response. This makes if behave as if it were in the Visual CADD™ drawing area. |
See Also: |