13.08.2020 - 13:08 IP: logged |
 |
Hi ,I did everything as in the article. So I succesfully created a managed property grid in my native MFC application.But when I run my application , I get an assertion in "…atlmfcsrcmfcoccont.cpp" Line : 950 ASSERT(IsWindow(pTemp->m_hWnd));When I comment the line ( and also other lines under it )myPropertyGrid.CreateManagedControl( WS_VISIBLE|WS_CHILD, rect, this, IDC_STATIC_HOLDER );assertion disappears but ofcourse property grid disappears at the same time It seems there is a problem with some HWND. So how can I solve this assertion problem ? |