MFC加载系统鼠标/系统预定义鼠标方法
来源:互联网 发布:宝宝学字软件 编辑:程序博客网 时间:2024/03/29 09:47
1、 LoadCursor
HCURSOR LoadCursor( HINSTANCE hInstance, LPCTSTR lpCursorName);加载一个光标资源到一个指定的可执行文件实例句柄(注:该函数已经被LoadImage所取代);
MFC中如果想要加载系统鼠标,可以调用该接口,此时需要将参数hInstance置为NULL,lpCursorName设置为以下值:
IDC_APPSTARTING
Standard arrow and small hourglass(标准箭头和小沙漏)
IDC_ARROW
Standard arrow(标准箭头)
IDC_CROSS
Crosshair(十字光标)
IDC_HAND
Windows 98/Me, Windows 2000/XP: Hand
IDC_HELP
Arrow and question mark(标准的箭头和问号)
IDC_IBEAM
I-beam(工字光标)
IDC_ICON
Obsolete for applications marked version 4.0 or later.
IDC_NO
Slashed circle(禁止圈)
IDC_SIZE
Obsolete for applications marked version 4.0 or later. Use IDC_SIZEALL.
IDC_SIZEALL
Four-pointed arrow pointing north, south, east, and west(四向箭头指向东、西、南、北)
IDC_SIZENESW
Double-pointed arrow pointing northeast and southwest(双箭头指向东北和西南)
IDC_SIZENS
Double-pointed arrow pointing north and south(双箭头指向南北)
IDC_SIZENWSE
Double-pointed arrow pointing northwest and southeast(双箭头指向西北和东南)
IDC_SIZEWE
Double-pointed arrow pointing west and east(双箭头指向东西)
IDC_UPARROW
Vertical arrow(垂直箭头)
IDC_WAIT
Hourglass(沙漏)
- MFC加载系统鼠标/系统预定义鼠标方法
- MFC加载鼠标光标图形的方法
- 【win8系统metro界面鼠标操控方法】
- 系统鼠标事件
- 屏蔽系统鼠标按键
- Unity获取系统鼠标
- Win32的加速键与鼠标,系统菜单,资源加载
- window系统 鼠标右键菜单加载缓慢问题
- 系统预定义变量
- 系统预定义广播
- 补充鼠标系统(同鼠标系统一起使用)
- Win7系统插入USB鼠标自动禁用触摸板方法
- C#获取系统鼠标指针
- Unity之鼠标管理系统
- MFC 得到当前鼠标位置方法
- MFC改变鼠标形状的方法汇总
- MFC改变鼠标形状的方法汇总
- MFC鼠标响应、鼠标画线
- 安卓翻译8 Services 一
- 数据库水平切分举例
- sql_mode导致初始化mariadb-10.0.6失败的一个问题
- php json数据和数组的转换
- jstat命令(Java Virtual Machine Statistics Monitoring Tool)
- MFC加载系统鼠标/系统预定义鼠标方法
- ORACLE闩锁(Latch)
- 在线教育们想要腾飞 就必须彻底改变产品理念
- 字符串的完美度(pongo的编程挑战..)
- 生活编程(一) 圣诞礼物大作战
- LDREX 和 STREX
- 【android,10】10.调用web服务获取手机号码归属地
- 十二存单法
- 【android ,11】11.android多线程断点下载