VC静态库下CRectTracker鼠标光标(指针)不显示问题
使用CRectTracker的类后,调用下面的函数进行鼠标光标(指针)的切换
BOOL CMyDlg::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message)
{
// TODO: Add your message handler code here and/or call default
if (pWnd == this && m_RectTracker.SetCursor(this, nHitTest))
return TRUE;
return CDialog::OnSetCursor(pWnd, nHitTest, message);
}
