相同变量(m_wndSplitter),为什么Codeinsight功能就不能起作用?谢谢。
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
m_wndSplitter.CenterWindow(NULL);<-------== Codeinsight OK!
return TRUE;
}
void CMainFrame::OnZoomIn()
{
m_wndSplitter.CenterWindow(NULL);<-------== Codeinsight Can not work
}