IUIUpdateElement Class

class IUIUpdateElement: public IRefCount, IQueryGuid

Interface for user interface elements that can be updated by a UI update listener. Provides a consistent interface to UI update listeners for modifying menus, toolbars, status bars, etc.

Defined in: UIUpdateElement.h

Class Members

virtual void SetText(const UINT nCommandID, LPCTSTR)

Call this to the te the text of the interface element.

virtual void Enable(const UINT nCommandID, bool bEnable = true)

Call this to enable or disable the interface element.

virtual void SetRadio(const UINT nCommandID, bool bEnable = true)

Call this to turn on or off a radio button within the interface element.

virtual void SetCheck(const UINT nCommandID, int nState = 1)

Call this to turn on or off a check button within the interface element.