Version: |
1.2 |
Description: |
Used to send mouse movements to Visual CADD™. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCMouseMove(long lParam, WORD wParam); |
Delphi |
procedure VCMouseMove(lParam: Longint; wParam: Smallint); stdcall; |
ActiveX/COM |
Sub MouseMove(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. For example, holding the ctrl
key while dragging objects toggles the state of the ortho mode. |
See Also: |