Click here to Skip to main content
15,938,022 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
Please, how is tool-tip handled for tab control?

Handling tool-tip for tool bar buttons is so easy. The following is a sample
code I used for an application?

case WM_NOTIFY://respond to tooltip request
    nmptr = (LPNMHDR)lParam;

    if(nmptr->code == TTN_GETDISPINFO)
        TTtext = (LPNMTTDISPINFO) lParam;

        if(TTtext->hdr.code == TTN_GETDISPINFO)
                case IDM_FIRST: TTtext->lpszText = _T("First page");
                case IDM_LAST: TTtext->lpszText = _T("Last page"");
Updated 1-Feb-13 3:27am
Sergey Alexandrovich Kryukov 1-Feb-13 13:07pm    
If it a question?
H.Brydon 2-Feb-13 2:32am    
I think he/she is saying that it works for a button on a toolbar but not for a tab control.
SajeeshCheviry 2-Feb-13 23:36pm    
Yes i think so :-)

1 solution

Perhaps you need CMFCTabToolTipInfo
Share this answer
Gbenbam 15-Sep-13 23:27pm    
Just checked this solution.Problem is the page is in german or something.Could you give me link to the english version?
merano 16-Sep-13 4:57am    
no problem:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900