Skip to main content

TdxBarPopupMenuLink.DoAction(HWND,TPoint) Method

Prepares a popup menu to be displayed on screen and generates an OnAction event.

Declaration

function DoAction(Wnd: HWND; const P: TPoint): Boolean; overload;

Parameters

Name Type
Wnd HWND
P TPoint

Returns

Type
Boolean

Remarks

The P parameter specifies the coordinates of the leftmost corner of the menu. If DoAction returns True, the popup menu will be displayed on screen, otherwise, the popup menu is hidden.

See Also