CreatePanelFromMenu Function

Creates a raw MenuPanel based off the menu's style. The Handle must be freed with CloseHandle().

Panel CreatePanelFromMenu(Handle menu)

Parameters

Handle menu

Menu Handle.

Return Value

A new MenuPanel Handle.

Errors

Invalid Handle.