Page 1 of 1

How to Provide Touch events

PostPosted: Nov 2, 2009 @ 1:11pm
by bcj
Hi...

i am developing a sprite Game for Windows Mobile (touch screen). In my game the sprite objects should be hit by player. so i have to put touch events for the sprite hits.

for now i am using GetClickEvent() to get hit events by mouse clicks(in my win32 Application).

i have a doubt ... that this method will aslo provide touch functionality in real windows mobile or not ?

if it is not provides ..then how can i handle that sprite hits by touch (stylus or finger).

plese give me the solution....

Thanks in advance .

PostPosted: Nov 2, 2009 @ 5:11pm
by RapchikProgrammer
OnStylusDown(POINT pnt), OnStylusUp(POINT pnt), OnStylusMove(POINT pnt).. im not sure about GetClick event, but these functions work perfectly on device and on desktop..

PostPosted: Nov 5, 2009 @ 9:17am
by edge
Hi,

Functions such as GetClickEvent work on Windows Mobile as well. The stylus/touches are simulated with mouse clicks on a PC desktop device.