April 19, 2024

Dynamic Windows Function [dw_menu_popup]

Syntax

void dw_menu_popup(HMENUI *menu, HWND parent, int x, int y)

Parameters

HMENUI *menu: The handle the the existing menu.
HWND parent: Handle to the window initiating the popup.
int x: X coordinate.
int y: Y coordinate.

Description

Pops up a context menu at given x and y coordinates.