Recent

Author Topic: How can I use the TPopupMenu component under WinCE? [SOLVED]  (Read 4114 times)

vice

  • New Member
  • *
  • Posts: 28
How can I use the TPopupMenu component under WinCE? [SOLVED]
« on: October 01, 2008, 01:33:09 pm »
From wikilazarus:

Code: [Select]

TWinControl.PopupMenu showing

Showing the popup menu of a windowed control is implemented using the native behavior of the Windows CE platform for touch screens. The user holds the pointer in a given control for a certain amount of time and the popup shows. This is implemented on the WM_LBUTTONDOWN message handler by calling SHRecognizeGesture.

For more details see:

    * http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=13728


I download the patch (wincecallback.inc) from Paul Michell, which implements showing popup menus from mouse gestures on wince, but I do not know how to use it.

Best regards.

EDIT:

I have installed:

Lazarus-0.9.27-16820-fpc-2.2.3-20081001-cross-arm-wince-win32.exe
Lazarus-0.9.27-16820-fpc-2.2.3-20081001-win32.exe

and I can use TPopupMenu correctly under WinCE.

 

TinyPortal © 2005-2018