主题:mfc 光标形状问题
我想改变光标形状
用以下函数
void CMy97testDlg::OnMouseMove(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
SetCursor(LoadCursor(NULL,IDC_CROSS));
CDialog::OnMouseMove(nFlags, point);
}
为什么当光标移动到按钮控件上 就变回箭头了
如果加一句SetCature(); 光标就无法按下按钮或进行别的操作
用以下函数
void CMy97testDlg::OnMouseMove(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
SetCursor(LoadCursor(NULL,IDC_CROSS));
CDialog::OnMouseMove(nFlags, point);
}
为什么当光标移动到按钮控件上 就变回箭头了
如果加一句SetCature(); 光标就无法按下按钮或进行别的操作