文書番号: 402877
最終更新日: 2004/04/27
File viewscrl.cpp, Line 455, Assertion Failed!
GetParentFrame()->RecalcLayout();また OnInitialUpdate が作られるときにフレームワークが RecalcLayout を呼ん
/* Compile options needed: none */ void CMyFormView::OnInitialUpdate() { CFormView::OnInitialUpdate(); // Base class initialization. //GetParentFrame()->RecalcLayout() // Uncomment to fix. No need to // call if this is version 2.5. CSize mysize(100,100); SetScaleToFitSize(mysize); // This will ASSERT in version // 2.0 unless RecalcLayout is // called. }この問題は Microsoft Foundation Classes (MFC) version 2.0 で発生します。
Keywords: KBBUG VC10 VC15 KB402877
Technology: kbAudDeveloper kbVCsearch