首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

WM_INPUT 是在windows 编程里头使用

2013-11-14 
WM_INPUT 是在windows 编程里面使用?WM_INPUT 是在windows 编程里面使用?我在这儿看到: http://msdn.micro

WM_INPUT 是在windows 编程里面使用?
WM_INPUT 是在windows 编程里面使用?

我在这儿看到: http://msdn.microsoft.com/en-us/library/windows/desktop/ms645543(v=vs.85).aspx

说是可以识别两个鼠标:
An application can distinguish the source of the input even if it is from the same type of device. For example, two mouse devices.

但是这可以在opengl 里面使用? 还是必须在vc++ 里面才可以? 
[解决办法]
OpenGL是跨平台的,没有WM_INPUT这么变态的命名。

引用:
WM_INPUT 是在windows 编程里面使用?

我在这儿看到: http://msdn.microsoft.com/en-us/library/windows/desktop/ms645543(v=vs.85).aspx

说是可以识别两个鼠标:
An application can distinguish the source of the input even if it is from the same type of device. For example, two mouse devices.

但是这可以在opengl 里面使用? 还是必须在vc++ 里面才可以? 

[解决办法]
WM_INPUT只能在windows平台上使用。
[解决办法]
WM_INPUT只能响应GUI,所以你应该在GUI上嵌入OpenGL。

引用:
Quote: 引用:

OpenGL是跨平台的,没有WM_INPUT这么变态的命名。

Quote: 引用:

WM_INPUT 是在windows 编程里面使用?

我在这儿看到: http://msdn.microsoft.com/en-us/library/windows/desktop/ms645543(v=vs.85).aspx

说是可以识别两个鼠标:
An application can distinguish the source of the input even if it is from the same type of device. For example, two mouse devices.

但是这可以在opengl 里面使用? 还是必须在vc++ 里面才可以? 


多谢, 我就是在windows 平台上使用. 那这样可以方便把WM_INPUT集成在 opengl程序里面吗?

[解决办法]
GUI与MFC不是一回事。前者泛指图形用户界面,你用OpenGL当然有图形界面了;后者是实现前者的一种做法。
[解决办法]
搜网络教程“学OpenGL编3D游戏”。

热点排行