15,979
社区成员
发帖
与我相关
我的任务
分享
/*BOOL CXXXDlg::PreTranslateMessage(MSG* pMsg)
{
if(WM_LBUTTONDOWN == pMsg->message)
m_toolTip.RelayEvent(pMsg);
return CDialog::PreTranslateMessage(pMsg);
}*/
void CXXXDlg::OnBnClickedButton1()
{
m_toolTip.Pop();
MSG msg;
msg.hwnd = GetDlgItem(IDC_BUTTON1)->m_hWnd;
msg.message = WM_MOUSEMOVE;
m_toolTip.RelayEvent(&msg);
}