
ProPopupmenuCascadebuttonAdd | |
( ProPopupMenuId menu_id /* (In) The id of the Popup menu. */ int position /* (In) Position at which to add the cascade button. Pass PRO_VALUE_UNUSED to append to the end of the relevant menu. */ ProMenuName cascade_menu_name /* (In) The cascade menu name (must be unique) */ ProLine cascade_menu_label /* (In) The cascade menu label. To localize this obtain and pass a message string from ProMessageToBuffer(). */ ProLine cascade_menu_helptext /* (In) The cascade menu helptext. To localize this obtain and pass a message string from ProMessageToBuffer(). */ ProPopupmenuAccessFunction access_status /* (In) The accessibility function for the added Menu Item. This argument is allowed to be NULL, in which case the item will be always accessible. */ ProAppData appdata /* (In) userdata to be given to any menu callback This argument is allowed to be NULL. */ ProPopupMenuId* casc_menuId /* (Out) menuId of the newly added cascade menu. */ ) |

The function successfully created a Cascade Menu. | |
One or more input arguments was invalid. | |
Cascade menu was already found. |

