Hi I stay making today probes whit Windows CE, I have a trouble whit mousestate, basically on mx variable, when I move the mouse from left to rigth, the mx increments his values no linear, when I arrive to the rigth corner, the value of mx is 296, but the screen resolution is 240x400, in the y coordinates (my), don´t have any trouble, I try to make a new aligning on the phone and I make a reset to default setting, but the error persist.
If I put the resolution 240x320 works fine, but the program make frezze the device.
Best regards,
Iván J.
Sounds like the mouse coordinates are incorrect - make a bug post...
Ok, Mr Tatoad, I go. :booze:
Thanks
Hi, I autoreply, thank to Matchy, he´s make this simple equation, solve the trouble. Thanks in advance Matchy. :nw:
MOUSESTATE mx,my,b1,b2
IF PLATFORMINFO$("")="WINCE"
mx=INTEGER((mx/179)*240)
my=INTEGER((my/425)*320)
ENDIF
The green numbers, are the resolution of your device, may be different
The reed numbers, are the value what have got triying the movement in your screen
Best Regards, and thanks Mate.
Iván J.
Wonder what the device is - its also possible that pixels aren't 2 bytes in size or something...
And what is metalthink' device ?
Hi, Ocean, yes is a little strange but whit the matchy code, runs very well.
Mr. Tatoad About my Device is an Acer Be touch E101 , is the most cheaper I found in the web, but I think is very complete and runs sufficiently well, for make thing for Windows Mobile Market.
Best Regards,
Iván J.
Looks a very nice machine... :good: