Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - Tooltip over CXTPTabControl does not appear
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Tooltip over CXTPTabControl does not appear

 Post Reply Post Reply
Author
Message
rodev View Drop Down
Newbie
Newbie


Joined: 12 May 2010
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote rodev Quote  Post ReplyReply Direct Link To This Post Topic: Tooltip over CXTPTabControl does not appear
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.