Re: [Lazarus] The mouse doesn't appears in Windows Mobile 6.5

2011-08-01 Thread Felipe Monteiro de Carvalho
2011/8/1 "Arí Ricardo Ody" :
> Excuse me, but are you telling me that I can't use mouse in the Lazarus
> applications that I develop in windows(7, in this case) and compile to run
> in windows mobile?

Your device has no mouse. Logically you cannot use something which
doesn't exist.

The browser emulates a mouse pointer with it's own code. If you want
the same behavior you have to write code to draw a mouse pointer.

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] The mouse doesn't appears in Windows Mobile 6.5

2011-08-01 Thread Arí Ricardo Ody
Excuse me, but are you telling me that I can't use mouse in the Lazarus 
applications that I develop in windows(7, in this case) and compile to run in 
windows mobile?

 Be patient, I am not understanding what's happen...

 [ ]


 Ricardo
- Original Message -
From: Felipe Monteiro de Carvalho
Sent: 08/01/11 02:48 AM
To: Lazarus mailing list
Subject: Re: [Lazarus] The mouse doesn't appears in Windows Mobile 6.5

 2011/8/1 "Arí Ricardo Ody" : >> Does the mouse show on other 
applications? > > Of course. In the pages of the Bradesco Bank or the Banrisul 
bank I can > point the mouse to very different places in the screen and click. 
After I > point to other place and click again and so on. That does not mean 
anything ... the browser could have drawn it's own mouse pointer in reaction to 
VK_UP, DOWN, LEFT and RIGHT (Key down events). At least Opera Mobile and Opera 
Mini do that! If the device has it's own non-standard mouse pointer you will 
even see two pointers sometime, a device pointer and the one created by the 
application. It should be possible to do that in your own application, but I 
don't know if it is possible to do that and still use native controls. For a 
browser this is not a problem, because the browser is composed almost entirely 
by 1 custom drawn control ocupying almost the entire screen. If your app is 
similar, you can draw a mouse pointer limited to your drawing control. -- 
Felipe Monteiro de Carvalho -- ___ 
Lazarus mailing list Lazarus@lists.lazarus.freepascal.org 
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] The mouse doesn't appears in Windows Mobile 6.5

2011-07-31 Thread Felipe Monteiro de Carvalho
2011/8/1 "Arí Ricardo Ody" :
>> Does the mouse show on other applications?
>
> Of course. In the pages of the Bradesco Bank or the Banrisul bank I can
> point the mouse to very different places in the screen and click. After I
> point to other place and click again and so on.

That does not mean anything ... the browser could have drawn it's own
mouse pointer in reaction to VK_UP, DOWN, LEFT and RIGHT (Key down
events). At least Opera Mobile and Opera Mini do that! If the device
has it's own non-standard mouse pointer you will even see two pointers
sometime, a device pointer and the one created by the application.

It should be possible to do that in your own application, but I don't
know if it is possible to do that and still use native controls. For a
browser this is not a problem, because the browser is composed almost
entirely by 1 custom drawn control ocupying almost the entire screen.
If your app is similar, you can draw a mouse pointer limited to your
drawing control.

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] The mouse doesn't appears in Windows Mobile 6.5

2011-07-31 Thread Arí Ricardo Ody
- Original Message -
 Which device are you using? It has no touch screen? You attached a external 
mouse to it? Samsung GT-b7320L Omnia Pro Messenger Phone running Windows Mobile 
6.5. No it's a smart phone without touch screen. There is no external mouse. 
There is a kind of joystick button that acts like a mouse. See pictures at: 
http://www.google.com.br/search?q=samsung+gt-b7320l+picture&hl=pt-BR&client=firefox-a&hs=kdh&rls=org.mozilla:pt-BR:official&prmd=ivns&tbm=isch&tbo=u&source=univ&sa=X&ei=7Pc1Tp3DFIODgAefxdzyDA&ved=0CCEQsAQ&biw=1144&bih=524
  Does the mouse show on other applications? Of course. In the pages of the 
Bradesco Bank or the Banrisul bank I can point the mouse to very different 
places in the screen and click. After I point to other place and click again 
and so on. LCL-Wince does not do anything special to show or hide a mouse. -- 
Felipe Monteiro de Carvalho -- ___ 
Lazarus mailing list Lazarus@lists.lazarus.freepascal.org 
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] The mouse doesn't appears in Windows Mobile 6.5

2011-07-31 Thread Felipe Monteiro de Carvalho
2011/7/30 "Arí Ricardo Ody" :
> It's a "hello world" like program. It runs ok in windows. When a copy it to
> my Windows Mobile 6.5 device and run, the screen appears just like in the
> windows at the desktop, but the mouse is not showed. I can execute the
> functions via shortcut combinations programmed in the buttons.
>
> How can I show and use the mouse, please?

Which device are you using? It has no touch screen? You attached a
external mouse to it?

Does the mouse show on other applications?

LCL-Wince does not do anything special to show or hide a mouse.

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] The mouse doesn't appears in Windows Mobile 6.5

2011-07-30 Thread Arí Ricardo Ody
Look the project at:

 http://www.4shared.com/folder/V2dvVMFQ/hello_world_like_program.html


 It's a "hello world" like program. It runs ok in windows. When a copy it to my 
Windows Mobile 6.5 device and run, the screen appears just like in the windows 
at the desktop, but the mouse is not showed. I can execute the functions via 
shortcut combinations programmed in the buttons.

 How can I show and use the mouse, please?

 Greetings from Sao Paulo - Brazil

 Ricardo
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus