Article ID: 132110
Article Last Modified on 11/21/2006
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
// Code generated by the framework
m_wndStatusBar.SetPaneInfo( 0, m_wndStatusBar.GetItemID( 0 ),
SBPS_STRETCH, NULL );
}
Here m_wndStatusBar is the CStatusBar member variable of the CMainFrame
class, and CStatusBar::GetItemID() returns the ID of the first pane.Additional query words: kbinf 1.00 1.50 2.50 2.51 2.52 2.00 2.10 3.00 3.10 4.00
Keywords: kbhowto kbtoolbar kbuidesign KB132110