diff -r 1b9c8a609447 -r 1a3198e040fa plugins/include/menus.inc --- a/plugins/include/menus.inc Thu Aug 09 18:19:23 2007 +0000 +++ b/plugins/include/menus.inc Thu Aug 09 18:25:00 2007 +0000 @@ -265,6 +265,17 @@ native SetMenuTitle(Handle:menu, const String:fmt[], any:...); /** + * Returns the text of a menu's title. + * + * @param menu Menu Handle. + * @param buffer Buffer to store title. + * @param maxlength Maximum length of the buffer. + * @return Number of bytes written. + * @error Invalid Handle/ + */ +native GetMenuTitle(Handle:menu, String:buffer[], maxlength); + +/** * Creates a raw MenuPanel based off the menu's style. * The Handle must be freed with CloseHandle(). *