CStatusBarCtrl状态栏停靠位置的疑问?
m_wndStatusBar.Create(WS_CHILD|WS_VISIBLE|CCS_BOTTOM,
CRect(0,0,0,0), this, 0);
// You can set the no. of parts of the StatusBar (4 in this case)
// and the width of each part not -1 means remaining width
int strPartDim[4]= {180, 260, 340, -1};
m_wndStatusBar.SetParts(4, strPartDim);
m_wndStatusBar.SetText(_T("Dialog / StatusBar / Toolbar"),0,0);
m_wndStatusBar.SetText(_T("Example"), 1, 0);
如上代码,程序刚启动时,状态是靠最下面的
但如果最大化,状态栏不会自动适应窗口的大小,
要怎么做才能让状态栏自动能适应窗口的大小,始终保持在最下面的风格呢?
...全文


界面
