CUIUpdateStatusbar Class

class CUIUpdateStatusbar

This class implements the IUIUpdateTarget interface for status bars.

CUIUpdateStatusbar includes the following member functions  CUIUpdateStatusbar,  SetText,  Enable,  SetRadio, and  SetCheck,

Defined in: UIUpdate.h

Class Members

CUIUpdateStatusbar(CStatusBar* pStatusBar)

Constructor attaches status bar to UIUpdate mechanism

operator CStatusBar*()

Get the status bar

CStatusBar* GetStatusBar()

Get the status bar

virtual void  SetText(const UINT nCommandID, LPCTSTR lpszText)

Set the pane text

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

Enable a pane

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

SetRadio disabled for panes

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

SetCheck disabled for panes