摘要: 鼠标左键按下后的响应代码1 LRESULT CDlgImageView::OnLButtonDown( UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled )2 {3 SetClassLong(*this, GCL_HCURSOR, (LONG)::LoadCursor(NULL, IDC_HAND)); // 设置鼠标样式4 SetCapture(*this); // 捕获鼠标5 return 0;6 }通过SetClassLong设置了窗口的鼠标样式,然后又通过SetCapture对这个窗口来捕... 阅读全文