15,979
社区成员
发帖
与我相关
我的任务
分享
case WM_NOTIFY:
switch (((LPNMHDR)lParam)->code)
{
case TTN_GETDISPINFO:
{
LPTOOLTIPTEXT lpttt;
UINT idButton;
lpttt = (LPTOOLTIPTEXT) lParam;
lpttt->hinst = g_hInst;
idButton = lpttt->hdr.idFrom;
switch (idButton)
{
case ID_MENU_NEW:
lpttt->lpszText =TEXT("注释");
break;
case ID_MENU_SAVE :
lpttt->lpszText = TEXT("触点");
break;
}
break;
}
default:
break;
}