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); }
Programming Tips - MFC: How do I make one of the bottom-right grippers on a statusbar?
Date: 2009sep22
OS: Windows
Framework: MFC
Language: C/C++
Keywords: gripper
Q. MFC: 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: