GetMenuTitle Function

Returns the text of a menu's title.

int GetMenuTitle(Handle menu, char[] buffer, int maxlength)

Parameters

Handle menu

Menu Handle.

char[] buffer

Buffer to store title.

int maxlength

Maximum length of the buffer.

Return Value

Number of bytes written.

Errors

Invalid Handle/