win32gui.SetMenuInfo

SetMenuInfo(hmenu, info)

Sets information for a specified menu.

Parameters

hmenu : int

handle to menu

info : MENUINFO

menu information in the format of a buffer.

Comments

See win32gui_struct for helper functions.

This function will raise NotImplementedError on early platforms (eg, Windows NT.)