游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1225|回复: 0

SetCurSor如何使用,?楹挝以O定後游??]有?

[复制链接]

414

主题

611

帖子

621

积分

高级会员

Rank: 4

积分
621
发表于 2006-8-9 00:21:00 | 显示全部楼层 |阅读模式
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);
}
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-25 02:29

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表