VCOnRButtonDown


Version:

6.0

Description:

Processes WM_RBUTTONDOWN messages.

Declaration:

 

C/C++

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

Delphi

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

ActiveX/COM

Function OnRButtonDown(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_RBUTTONDOWN 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_RBUTTONDOWN messages in order to handle standard Visual CADD™ behavior.

See Also:

VCOnRButtonUp, VCOnLButtonDown, VCOnMButtonDown