Board index » Visual Studio » Tooltip causes an ASSERT() in a child dialog box
|
mindesign
Registered User |
Tooltip causes an ASSERT() in a child dialog box
Hello experts,
I already posted about my problem a couple of days ago, but it's not solved yet and I have some more details about it. Using MS VC 6.0 and Vista. I create a CTabCtrl control in a dialog box. For each tab, a child dialog box contains a bunch of controls (CEdit, CComboBox...). I can display tooltips for each control, no problem. The problem is that when the cursor (I mean the mouse) leaves a control, if it enters the tooltip area, I get an ASSERT() warning: In WinCore.cpp void CWnd::AssertValid() const { ... // should be a normal window ASSERT(::IsWindow(m_hWnd)); ... } This occurs only when the dialog boxes displayed in the tabs are CHILD dialog boxes. If I choose "Overlapped" or "Popup", it works (but I need a child dialog box). What should I do to avoid this problem? TXS Phil - |
