Print Page | Close Window

Tooltip over CXTPTabControl does not appear

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=16699
Printed Date: 15 May 2024 at 10:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tooltip over CXTPTabControl does not appear
Posted By: rodev
Subject: Tooltip over CXTPTabControl does not appear
Date Posted: 12 May 2010 at 5:17am
Hello,
    We recently upgraded from toolkitpro 9.6 to 13.1 and discovered that the tooltip over a CXTPTabControl derived control does not appear anymore in some situation. The way to reproduce the problem is to put another application over our app (e.g. notepad) and clicking on application caption + quick mouse moving over tabcontrol and stop there, waiting for tooltip but nothing happens -tooltip does not appear. Moving again mouse over other controls and returning back over our tabcontrol works fine. Also the mouse moving must be done quickly < 0.5 sec.

we are using some overides such as:

BOOL CMyXTPTabControl::OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
    MSG msg;
    msg.wParam = wParam;
    msg.lParam = lParam;
    msg.message = message;
    msg.hwnd = m_hWnd;
    GetCursorPos(&msg.pt);

    // Tooltips notification.
    FilterToolTipMessage(&msg);

    return __super::OnWndMsg(message, wParam, lParam, pResult);
}

INT_PTR CMyXTPTabControl::OnToolHitTest(CPoint point, TOOLINFO* pTI) const
{
    return PerformToolHitTest(m_hWnd, point, pTI);
}

Also checked code against version 1331 and same behaviour.

Regards
Rodev



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net