Skip to content

OnRightClick - cToolbar

Received whenever the mouse's right button is clicked in the toolbar

Type: Event

Parameters

Parameter Type Description
x Integer The x-coordinate that the mouse button was clicked on
y Integer The y-coordinate that the mouse button was clicked on
dwHitInfo Integer Hit Information (private)

Syntax

Procedure OnRightClick Integer x Integer y Integer dwHitInfo

Description

This event is received whenever the mouse's right button is clicked in the toolbar. Note that if the click occurs in one of the buttons, then the button will receive the event, not the toolbar.

Note that both of the parameters, x and y, are expressed in screen coordinates, not client coordinates.

Col 1 Col 2
Note: You can also use the cWinControl's OnMouseDown, OnMouseUp, OnMouseDoubleClick and OnMouseMove mouse messages.