예제 #1
0
void CMainFrame::ActivateFrame(int nCmdShow)
{
	CFrameWndEx::ActivateFrame(nCmdShow);
	// make sure and display the toolbar, ruler, etc while loading a document.
	OnIdleUpdateCmdUI(0, 0);
	UpdateWindow();
}
예제 #2
0
void CControlBar::OnInitialUpdate()
{
	// update the indicators before becoming visible
	OnIdleUpdateCmdUI(TRUE, 0L);
}