PaFoJu
21st May 2009, 02:35 AM
Hi!
The SmartTouch wheel can be activated for any application by a registry entry, as generally known.
However, as an application programmer, I am wondering: What does the application have to do to reveice the scrolling messages? When I add the registry entry for my app, I get WM_KEYDOWN messages for VK_UP / DOWN as soon as I scroll on the wheel. These are the same messages as for the real up / down keys.
Does anybody know what I need to do in my app to receive distinct messages for scrolling - such as WM_VSCROLL?
An alternative might be the sensor API (http://sensorapi.codeplex.com/). However, I do not see any of the HTC libs loaded for Google Maps or so. So I guess there must be a simpler way...
Thanks!
The SmartTouch wheel can be activated for any application by a registry entry, as generally known.
However, as an application programmer, I am wondering: What does the application have to do to reveice the scrolling messages? When I add the registry entry for my app, I get WM_KEYDOWN messages for VK_UP / DOWN as soon as I scroll on the wheel. These are the same messages as for the real up / down keys.
Does anybody know what I need to do in my app to receive distinct messages for scrolling - such as WM_VSCROLL?
An alternative might be the sensor API (http://sensorapi.codeplex.com/). However, I do not see any of the HTC libs loaded for Google Maps or so. So I guess there must be a simpler way...
Thanks!