VAPINM_USERCLICK
Reports that the user clicked the mouse on the document.
Syntax
#include <kvvapi.h> VAPINM_USERCLICK = uMsg; BOOL bDoubleClick = (BOOL) wParam; long lLogicalAddress = (long) lParam;
Arguments
Argument | Description |
---|---|
bDoubleClick
|
A flag that is TRUE if the user double-clicked; FALSE if the user single-clicked. |
lLogicalAddress
|
A long integer that is the logical address of the mouse click. |
Returns
None
Discussion
You can use the positional information to insert an annotation. This message is generated by a WM_LBUTTONDOWN
or WM_LBUTTONDBLCLK
.
NOTE: This message is not sent when the user has the Shift key depressed, because this indicates the selection is to be extended. In fact, this causes a VAPINM_SELECTION
message to be sent.