|
|
SetCurSor如何使用,?楹挝以O定後游??]有?,只有移??r?一下?
HCURSOR g_Cursor=NULL;
CTestAni2View::CTestAni2View()
{
// TODO: add construction code here
g_Cursor=LoadCursorFromFile("res\\TestAni2.ico");
SetCursor(g_Cursor);
}
BOOL CTestAni2View::OnSetCursor(CWnd* pWnd, Uint nHitTest, Uint message)
{
// TODO: Add your message handler code here and/or call default
SetCursor(g_Cursor);
return CView::OnSetCursor(pWnd, nHitTest, message);
} |
|