16,548
社区成员




BOOL CDlgTestDlg::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message)
{
// TODO: Add your message handler code here and/or call default
switch(pWnd->GetDlgCtrlID())
{
case IDC_BUTTON1:
SetCursor(LoadCursor(::AfxGetInstanceHandle(),MAKEINTRESOURCE(IDC_CURSOR1)));
break;
default :
SetCursor(LoadCursor(::AfxGetInstanceHandle(),MAKEINTRESOURCE(IDC_CURSOR1)));
}
return TRUE;
//return CDialog::OnSetCursor(pWnd, nHitTest, message);
}