重大问题!!!
请问如何使用WM_MOUSEHOVER和WM_MOUSELEASE这两条消息?(MSDN说要在98和NT40以上版本运行,可是VC都是在95版本,不能编译这两条消息) 问题点数:50、回复次数:10Top
1 楼a_kun(狂人日记)回复于 2001-11-19 13:08:36 得分 0
怎么没有人帮忙呢?555555~~~~~~~~~~~~~
除了这个方法,还有其它的什么办法能够解决鼠标移到窗口上发消息,移出来也发另一个消息?Top
2 楼a_kun(狂人日记)回复于 2001-11-19 13:20:51 得分 0
兄弟们帮忙呀!!!!!!!Top
3 楼liujiangsh(飞鹰)回复于 2001-11-19 13:45:15 得分 10
升级呗Top
4 楼Happy_Wawe(十一少)回复于 2001-11-19 13:49:15 得分 10
用timer跟踪鼠标,然后判断。Top
5 楼jiangsheng(蒋晟.Net[MVP])回复于 2001-11-19 14:10:55 得分 10
Minimum System Required |Macros to Define
Windows 95 and Windows NT 4.0 |WINVER=0x0400
Windows 98 and Windows NT 4.0 |_WIN32_WINDOWS=0x0410 and WINVER=0x0400
Windows NT 4.0 |_WIN32_WINNT=0x0400 and WINVER=0x0400
Windows 98 and Windows 2000 |WINVER=0x0500
Windows 2000 |_WIN32_WINNT=0x0500 and WINVER=0x0500
Whistler |_WIN32_WINNT=0x0501 and WINVER=0x0501
Internet Explorer 3.0 |_WIN32_IE=0x0300
Internet Explorer 4.0 |_WIN32_IE=0x0400
Internet Explorer 5.0 |_WIN32_IE=0x0500
Guard Statement |Meaning
#if _WIN32_WINNT >= 0x0400 |Windows NT 4.0 and later. It is not implemented in Windows 95.
#if _WIN32_WINDOWS >= 0x0410 |Windows 98. The image may not run on Windows 95.
#if _WIN32_WINNT >= 0x0500 |Windows 2000. The image may not run on Windows 95/98 or Windows NT.
#if _WIN32_WINNT >= 0x0501 |Whistler. The image may not run on Windows 95/98, Windows NT, or Windows 2000.
#if WINVER >= 0x0500 |Windows 2000 and Windows 98. The image may not run on Windows 95 or Windows NT.
#if _WIN32_IE >= 0x0300 |Internet Explorer 3.0 and later.
#if _WIN32_IE >= 0x0400 |Internet Explorer 4.0 and later.
#if _WIN32_IE >= 0x0500 |Internet Explorer 5.0 and later.
Top
6 楼a_kun(狂人日记)回复于 2001-11-19 19:42:57 得分 0
没效果……Top
7 楼a_kun(狂人日记)回复于 2001-11-19 19:43:44 得分 0
没效果……
具体怎么搞?Top
8 楼forrest9910(laomaomao)回复于 2001-11-19 20:05:44 得分 10
谁说的,VC都是在95版本?Top
9 楼smallfool(smallfool)回复于 2001-11-19 21:29:54 得分 10
好象要先注册这两个消息,然后再响应,具体我要看一下自量.Top
10 楼a_kun(狂人日记)回复于 2001-12-28 21:10:40 得分 0
快元旦了,把以前没结帐的帖子结了,不管有没有得到正确的答案。谢谢大家的支持。Top




