Debug assertion failed! File: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp
BOOL CWnd::Attach(HWND hWndNew) { ASSERT(m_hWnd == NULL); // only attach once, detach on destroy ASSERT(FromHandlePermanent(hWndNew) == NULL); // must not already be in permanent map if (hWndNew == NULL) return FALSE; CHandleMap* pMap = afxMapHWND(TRUE); // create map if not exist ASSERT(pMap != NULL); pMap->SetPermanent(m_hWnd = hWndNew, this); #ifndef _AFX_NO_OCC_SUPPORT AttachControlSite(pMap); #endif return TRUE; }
Attach()
Wnd
m_hWnd
NULL
hWndNew
CWnd
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)