JohnWeidner
asked on
tooltips assert in tooltip.cpp line 383
When ever I position my mouse over a tool bar button of a debug build, an assert from tooltip.cpp line 383 is triggered. The line referenced is the last line in the "if" block below. Anyone know what is causing this? I've tested this using a fresh "App Expert created project" and get the same results.
if (!pToolTip->SendMessage(TT M_GETTOOLI NFO, 0, (LPARAM)&ti))
{
ASSERT(ti.cbSize == sizeof(TOOLINFO));
ASSERT(ti.uFlags == TTF_IDISHWND);
ASSERT(ti.hwnd == m_hWnd);
ASSERT(ti.uId == (UINT)m_hWnd);
VERIFY(pToolTip->SendMessa ge(TTM_ADD TOOL, 0, (LPARAM)&ti));
}
I am using MSVC 5.0 (but I get the same results with version 4.2) I've also recently reinstalled Windows 95 and MSVC 5.0.
if (!pToolTip->SendMessage(TT
{
ASSERT(ti.cbSize == sizeof(TOOLINFO));
ASSERT(ti.uFlags == TTF_IDISHWND);
ASSERT(ti.hwnd == m_hWnd);
ASSERT(ti.uId == (UINT)m_hWnd);
VERIFY(pToolTip->SendMessa
}
I am using MSVC 5.0 (but I get the same results with version 4.2) I've also recently reinstalled Windows 95 and MSVC 5.0.
In the release build I guess there is no tooltips at all?
I've got the same error when install my app on a fresh copy of old Windows 95. Probable cause - incorrect version of comctl32.dll. I avoid this problem by installing MSIE 3.01 (or higher) - it updates this dll. Suppose it helps.
I've got the same error when install my app on a fresh copy of old Windows 95. Probable cause - incorrect version of comctl32.dll. I avoid this problem by installing MSIE 3.01 (or higher) - it updates this dll. Suppose it helps.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER