15,979
社区成员
发帖
与我相关
我的任务
分享
#define _WIN32_WINNT 0x0400
看看行不行
int CXXXDlg::OnMouseActivate(CWindow wndTopLevel, UINT nHitTest, UINT message)
{
// We handle this message so that when user clicks once in the
// dialog, it will be given the focus, and this will allow
// mousewheel messages to be directed to this window.
SetFocus();
return 1;
}