m_tip.Create(this); m_tip.AddTool(GetDlgItem(IDC_BUTTON4), _T("Tooltip text")); m_tip.Activate(TRUE); m_btn1.InitDraw(); return TRUE; } BOOL CMFCApplication22Dlg::PreTranslateMessage(MSG* pMsg) { m_tip.RelayEvent(pMsg); return CDialog::PreTranslateMessage(pMsg); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)