15,979
社区成员
发帖
与我相关
我的任务
分享
void CDlg5Dlg::OnLButtonDown(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
TRACE(_T("CDlg5Dlg::OnLButtonDown\n"));
CWnd *pFocus = GetFocus();
if(pFocus)
{
CWnd *pParent = pFocus->GetParent();
if(pParent && pParent->m_hWnd == m_myCombox.m_hWnd)
{
::SetFocus(NULL);
}
}
CDialog::OnLButtonDown(nFlags, point);
}