About mouse handling on Smartphone... Its urgent

  • Thread starter Thread starter Ansh
  • Start date Start date
A

Ansh

Hi All,
I want to create a virtual mouse and move it through arrow
keys on Smartphone just as VNC
remote viewer (RDP client) does. But when i try to load any
mouse cursor using LoadCursor eg. Arrow cursor, it gives me
handle on newly loaded cursor since its not NULL. But it
doesn't shows me any cursor. Only Wait Cursor works which
is shown at the center of the screen. And when i try to move
that cursor using SetCursorPos() it doesnt move. When check error
through
GetLastError() i get error that this function is not supported.

Can anyone tell me how i can create an Arrow cursor (any other than
Wait) and
move it through arrow keys on Smartphone???

In short i want to enable mouse handling on Smartphone.

If u have suggestion then please give.
Any help would be appreciated.
Thnx in advance.
:-)

Ansh
 
The cursor support in Smartphone (and Pocket PC for that matter) is only
sufficient to display the waitcursor in the centre of the screen it isn't
designed for mouse use and hence doesn't support other functionality.

Peter
 
Thnx Peter,
But I saw that RDP client of VNC for Smartphone displays cursor. Shows
us remote desktop image and we can move cursor using direction keys. If
cursor implementation is not possible not Smartphone then can u have
some idea how they have implemented it. Because my software needs
similar type of implementation.
 
Thnx Garry,
but here i found only .exe file there and my reuirement is somewhat
different. I need source code or some creative idea for implementation
of cursor in Smartphone. I have to implement cursor by my own and i am
very puzzled how can i do this. Also i have to use C/C++ only.
 
I tried to contact him but due to some problem i were not be able to
contact him. Do you have some idea of how it can be done. Is anyone
else there who have some idea about it.

Thanks,
Ansh
 
Back
Top