PyCMenu.GetMenuString

string = GetMenuString(id, flags )

Returns the string for a specified menu item.

Parameters

id : int

The id of the item being requested.

flags=win32con.MF_BYCOMMAND : int

Specifies how the id parameter is interpreted. It must be one of win32con.MF_BYCOMMAND or win32con.MF_BYPOSITION.