case WM_NOTIFY://respond to tooltip request nmptr = (LPNMHDR)lParam; if(nmptr->code == TTN_GETDISPINFO) { TTtext = (LPNMTTDISPINFO) lParam; if(TTtext->hdr.code == TTN_GETDISPINFO) { switch(TTtext->hdr.idFrom) { case IDM_FIRST: TTtext->lpszText = _T("First page"); break; case IDM_LAST: TTtext->lpszText = _T("Last page""); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)