March 28, 2024

Dynamic Windows Function [dw_menu_delete_item]

Syntax

int dw_menu_delete_item(HMENUI menu, unsigned long id)

Parameters

HMENUI menu: The handle to the menu in which the item was appended.
unsigned long id: Menuitem id.

Returns

int DW_ERROR_NONE (0) on success or DW_ERROR_UNKNOWN on failure.

Description

Deletes the menu item specified.

Remarks

This API was introduced in version 2.3.