摘要:
重载OnSetCursor函数BOOL CTest::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message){ if (pWnd->GetDlgCtrlID() == IDC_TEST) //IDC_TEST 控件ID { HCURSOR hCursor = LoadCursor(NULL,IDC_HAND); return hCursor != NULL ? (SetCursor(hCursor) != NULL) : FALSE; } return CDialogEx::OnSetCursor(pWnd, nHitTest, mess 阅读全文
posted @ 2013-04-24 17:18
ximenchuixie
阅读(436)
评论(0)
推荐(0)
浙公网安备 33010602011771号