close
Q:
執行 GetClientRect(&rTmp);發生:
msdn說 m_hWnd" is invalid
ref: https://social.msdn.microsoft.com/Forums/en-US/782c5b61-cac9-474a-a140-6948fcda08be/custom-control-bring-error-like-debug-assertion-failed-at-afxwin2inl-line-118?forum=vcgeneral
File: d:\agent\_work\3\s\src\vctools\vc7libs\ship\atlmfc\include\afxwin2.inl
Line: 86
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
Abort Retry Ignore
SOL:
CEnTabCtrl m_tabCtrl;
物件忘記加
:DoDataExchange()
DDX_Control(pDX, IDC_TAB_CTRL, m_tabCtrl);
全站熱搜