Category Creo Parametric user interface, Object ProPopupmenu

Callback ProPopupmenuDestroyPreAction


Description
This notification function is called before a popup menu is destroyed internally in Creo Parametric. Use this notification to free application-allocated memory for the custom buttons in the popup menu. Users must supply this function by calling ProNotificationSet() with the notify type PRO_POPUPMENU_DESTROY_PRE.
Synopsis
#include <ProPopupmenu.h>
ProError(*ProPopupmenuDestroyPreAction)(
const char* name
/* (In)
Popup menu name.
*/
)
Returns
Return values are not interpreted by Creo Parametric.

Manual References:

  1. User Interface: Menus, Commands, and Popupmenus: Registering Notifications to Create and Destroy Popup Menus
  2. Event-driven Programming: Notifications: Context Change Events