CUIUpdateGenerator Class
class CUIUpdateGenerator
This class fires UI update events to a specified event router for the set of registered UI update target objects.CUIUpdateGenerator includes the following member functions CUIUpdateGenerator, HandleMenu, HandleToolBar, HandleStatusBar, HandleMenus, HandleToolBars, HandleStatusBars, GenerateUIUpdates, ReleaseUIElements
Defined in: UIUpdate.h
Class Members
Constructor
virtual ~CUIUpdateGenerator()
Destructor releases the registered update router
void SetUIUpdateRouter(IEventRouter* pIRouter)
Registers an event router
void RegisterMenu(HMENU hMenu)
Registers a menu with the UIUpdating mechanism
void RegisterToolBar(CToolBar* pToolBar)
Registers a toolbar with the UIUpdating mechanism
void RegisterStatusBar(CStatusBar* pStatusBar)
Registers a status bar with the UIUpdating mechanism
int HandleMenu(HMENU hMenu)
Handle a single menu
int HandleMenu(CUIUpdateMenu* pUIUpdateMenu)
Handle a single menu
int HandleToolBar(CToolBar* pToolBar)
Handle a single toolbar
int HandleToolBar(CUIUpdateToolbar* pUIUpdateToolbar)
Handle a single status bar
int HandleStatusBar(CStatusBar* pStatusBar)
Handle a single status bar
int HandleStatusBar(CUIUpdateStatusbar* pUIUpdateStatusbar)
Handle a single status bar
void HandleMenus()
Handle all registered menus
void HandleToolbars()
Handle all registered toolbars
void HandleStatusBars()
Handle all registered statusbars
virtual void GenerateUIUpdates()
Generate UIUpdates
virtual void ReleaseUIElements()
Release registered UI Elements