|
Public Types |
| enum | PANESTYLE {
PANESTYLE_NoBorders = SBPS_NOBORDERS,
PANESTYLE_Popout = SBPS_POPOUT,
PANESTYLE_Disabled = SBPS_DISABLED,
PANESTYLE_Stretch = SBPS_STRETCH,
PANESTYLE_Normal = SBPS_NORMAL
} |
| enum | STYLE { STYLE_Default = 0,
STYLE_ToolTips = SBT_TOOLTIPS
} |
Public Member Functions |
| void | ClearPane (int nIndex, bool update=true) |
| void | ClearText () |
| int | CommandToIndex (UINT nID) const |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, int numpanes=1, STYLE style=STYLE_Default) |
| | CTRL_STATUSBAR () |
| CStatusBar & | GetCtrl () |
| UINT | GetItemID (int nIndex) const |
| void | GetItemRect (int nIndex, LPRECT lpRect) const |
| void | GetPaneInfo (int nIndex, UINT &nID, PANESTYLE &style, int &cxWidth) |
| PANESTYLE | GetPaneStyle (int nIndex) const |
| CString | GetPaneText (int nIndex) const |
| CStatusBar & | GetStatusBar () |
| CStatusBarCtrl & | GetStatusBarCtrl () const |
| void | SetIndicators (const UINT *lpIDArray, int nIDCount) |
| void | SetPaneInfo (int nIndex, UINT nID, PANESTYLE style, int cxWidth) |
| void | SetPaneStyle (int nIndex, PANESTYLE style) |
| void | SetPaneText (int nIndex, const UNICODE *string, bool update=true) |
| void | SetPaneText (int nIndex, LPCTSTR lpszNewText, bool bUpdate=true) |
| void | SetText (const UNICODE *string) |
| void | SetTextError (ERRVALUE err) |
| virtual | ~CTRL_STATUSBAR () |
Protected Member Functions |
| virtual void | OnClick (const NMMOUSE *lpnm) |
| virtual void | OnDoubleClick (const NMMOUSE *lpnm) |
| virtual void | OnRightClick (const NMMOUSE *lpnm) |
This control is not dynamically positioned the same as other MGUI::CTRLs because the underlying CStatusBar does its own positioning via MFC. When adding a status bar to a MGUI::DIALOG you must use MGUI::DIALOG::SetStatusBar() in the dialog subclass's implementation of OnInitDialog() to allow for the status bar in dynamic layout.