CreatePanel Function

Creates a MenuPanel from a MenuStyle. Panels are used for drawing raw menus without any extra helper functions. The Handle must be closed with CloseHandle().

Panel CreatePanel(Handle hStyle)


Handle hStyle

MenuStyle Handle, or INVALID_HANDLE to use the default style.

Return Value

A new MenuPanel Handle.


Invalid Handle other than INVALID_HANDLE.