标题:[求助]手型鼠标的值是什么??
只看楼主
圆圆的鸟蛋
Rank: 1
等 级:新手上路
帖 子:216
专家分:0
注 册:2007-4-22
 问题点数:0 回复次数:3 
[求助]手型鼠标的值是什么??
为什么编译器总提示IDC_HAND没定义,但是MSDN上却有如下说明:
Value Description
IDC_APPSTARTING Standard arrow and small hourglass
IDC_ARROW Standard arrow
IDC_CROSS Crosshair
IDC_HAND Windows NT 5.0 and later: 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
望高手指教!!!

[此贴子已经被作者于2007-10-22 9:14:06编辑过]

搜索更多相关主题的帖子: 鼠标 手型 
2007-10-22 09:01
余来
Rank: 6Rank: 6
等 级:贵宾
威 望:26
帖 子:956
专家分:18
注 册:2006-8-13
得分:0 
要用到MAKEINTRESOURCE,你在编译器中,转向它的预定义,然后就可以看到它的值了, 直接复制它的宏的值就可以了

2007-10-22 09:48
圆圆的鸟蛋
Rank: 1
等 级:新手上路
帖 子:216
专家分:0
注 册:2007-4-22
得分:0 
为什么要这么麻烦呢??  不是有它的宏定义么,为什么不能直接用定义好的宏呢??

鸟蛋开始孵化。。。我等待那一天Forever。。
2007-10-22 12:06
余来
Rank: 6Rank: 6
等 级:贵宾
威 望:26
帖 子:956
专家分:18
注 册:2006-8-13
得分:0 

在编译时,由于你系统XP(估计)所以VC不会定义这个宏,这个宏在系统时2000是就会定义,MSDN中有,你直接用该宏的值好了


2007-10-23 12:52



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-179685-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.121563 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved