BOOL ABCDlg::PreTranslateMessage(MSG* pMsg) { if(pMsg->message == WM_LBUTTONDOWN) { if(GetFocus() != this) { ::SetFocus(this->GetSafeHwnd()); } } ... }
怎么个没成功,你的目的是什么
15,979
社区成员
115,897
社区内容
加载中
试试用AI创作助手写篇文章吧