PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

How to Provide Touch events

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 .
RapchikProgrammer · 02 Nov 2009, 16:11 UTC
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..
Hi,

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