IMenuManagerExtension Class Reference
 
 
 
IMenuManagerExtension Class Reference

This reference page is linked to from the following overview topics: New Classes and Methods.


#include <imenuman.h>

Inheritance diagram for IMenuManagerExtension:
IMenuManager FPStaticInterface FPInterfaceDesc FPInterface BaseInterface InterfaceServer MaxHeapOperators

Class Description

Extension class for IMenuManager, can be accessed by calling GetCOREInterface()->GetMenuManager() and downcasting to this interface.

Public Member Functions

virtual bool  IsMenuChangeNotificationEnabled () const =0
  Checks whether the notification NOTIFY_CUI_MENUS_UPDATED will be raised on changes to any menu.
virtual void  SetMenuChangeNotificationEnabled (bool val)=0
  Controls whether the notification NOTIFY_CUI_MENUS_UPDATED will be raised on changes to any menu.
virtual void  RaiseMenuChangeNotification ()=0
  Force raises the NOTIFY_CUI_MENUS_UPDATED notification to make interested parties aware of menu changes.

Member Function Documentation

virtual bool IsMenuChangeNotificationEnabled ( ) const [pure virtual]

Checks whether the notification NOTIFY_CUI_MENUS_UPDATED will be raised on changes to any menu.

Returns:
true if the manager is currently raising notifications on menu changes
virtual void SetMenuChangeNotificationEnabled ( bool  val ) [pure virtual]

Controls whether the notification NOTIFY_CUI_MENUS_UPDATED will be raised on changes to any menu.

Parameters:
[in] val - either enables or disables notifications, can be used to do a batch menu change
virtual void RaiseMenuChangeNotification ( ) [pure virtual]

Force raises the NOTIFY_CUI_MENUS_UPDATED notification to make interested parties aware of menu changes.

Can be used at the end of a batch of changes to signal the end of the mass change.