Onega

a lot of VC++ posts, a few C# posts, and some miscellaneous stuff

Tuesday, March 15, 2005

ASSERT failed in DestroyWindow called by FilterToolTipMessage

I don't know how to correctly fix it. But here is a work around find by masterz.
#ifdef _DEBUG
AFX_MANAGE_STATE(AfxGetStaticModuleState( ))//20050316
_AFX_THREAD_STATE *pThreadState= AfxGetThreadState();
if ( pThreadState) {
pThreadState->m_pToolTip= NULL;
}
#endif

0 Comments:

Post a Comment

<< Home