Patrick Chevalley ha scritto:
Hi,

Any clue why WM_MOUSEMOVE message processing is commented out in wincecallback.inc ?

The following patch remove the comment and all is working fine.
On a PocketPC the mousemove event is raised when you drag the stylus on the screen surface. With this change I am now able pan a big image on the screen using the stylus.

If no objection can someone apply this patch, thanks!

Patrick


------------------------------------------------------------------------

Index: lcl/interfaces/wince/wincecallback.inc
===================================================================
--- lcl/interfaces/wince/wincecallback.inc      (revision 11043)
+++ lcl/interfaces/wince/wincecallback.inc      (working copy)
@@ -1516,8 +1516,7 @@
       NotifyUserInput := True;
       LMessage.Msg := LM_LEAVE;
     End;
-//roozbeh : we dont have mousemove right?so any need for this?
-{    WM_MOUSEMOVE:
+    WM_MOUSEMOVE:
     Begin
       NotifyUserInput := True;
       PLMsg:[EMAIL PROTECTED];
@@ -1541,7 +1540,7 @@
           WindowInfo^.MouseY := YPos;
         end;
       End;
-    End;}
+    End;
     WM_MOUSEWHEEL:
     Begin
       NotifyUserInput := True;
------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/784 - Release Date: 01/05/2007 14.57
It would be good to try it: now I understand why the drag&drop functions I was trying wasn't working :D

Make me know how does it works, I use only the windows installers libraries (created by fpcfan and uploaded into the /cross/ ftp path) due to compilation issues...

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to