This method adds a band to the rebar.
Header file: | Afxext.h |
Platforms: | Palm-size PC, H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
BOOL AddBar( CWnd* pBar, LPCTSTR lpszText = NULL, CBitmap* pbmp = NULL, DWORD dwStyle = RBBS_GRIPPERALWAYS | RBBS_FIXEDBMP );
BOOL AddBar( CWnd* pBar, COLORREF clrFore, COLORREF clrBack, LPCTSTR pszText = NULL, DWORD dwStyle = RBBS_GRIPPERALWAYS );