VCOnMButtonDown


Version:

6.0

Description:

Processes WM_MBUTTONDOWN messages.

Declaration:

 

C/C++

extern "C" BOOL WINAPI VCOnMButtonDown(HWND hWnd, UINT nFlags, long x, long y);

Delphi

function VCOnMButtonDown(hWnd: LongInt; nFlags: LongInt; x: LongInt; y: LongInt): LongInt; stdcall;

ActiveX/COM

Function OnMButtonDown(ByVal hWnd As Long, ByVal nFlags As Long, ByVal x As Long, ByVal y As Long) As Long

Parameters:

hWnd - Windows handle of the WM_MBUTTONDOWN message.

nFlags - combination of virtual keys which are down.

x - x-coordinate of the cursor relative to the upper-left corner of the window.

y - y-coordinate of the cursor relative to the upper-left corner of the window.

Return Value:

always returns 0

Notes:

The function processes WM_MBUTTONDOWN messages in order to handle standard Visual CADD™ behavior.

See Also:

VCOnMButtonUp, VCOnLButtonDown, VCOnRButtonDown