Date: 2009sep22
Platform: MFC
Language: C/C++
Q. How do I make one of the bottom-right grippers on a statusbar?
A. When creating the status bar use CCS_BOTTOM and SBARS_SIZEGRIP
like this:
BOOL CExampleDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// ...
GetClientRect(&rect);
m_pStatusBar = new CStatusBarCtrl;
m_pStatusBar->Create(WS_CHILD|WS_VISIBLE|CCS_BOTTOM|SBARS_SIZEGRIP, rect, this, IDC_MY_STATUSBAR);
}
| What this info useful to you? You can donate to say thanks |
Add a comment
Sign in to add a comment