[DUG] WM_TOUCH messages
Martin Searancke
martin at lifact.com
Mon Jan 24 15:46:17 NZDT 2011
I have been cheating and implementing multi touch functionality in my D2009
application by hooking the various touch messages.
I have this all working fine for gestures but on one window I want to get
the actual touch messages so that a user can move multiple slider controls
(TrackBar) at the same time.
WM_TOUCH = $0240;
procedure WMTouchNotify(var Msg: TMessage); message WM_TOUCH;
RegisterTouchWindow(Handle, 0);
This works fine for touch events on the window itself but not when touching
controls (like the trackbar). What am I missing here - The event does not
fire when touching any child controls on the form?
I have tried calling...
RegisterTouchWindow(MyTrackBarControl.Handle, 0);
But this does not work.
Thanks in advance.
Martin
--
Martin Searancke
LightFactory
+64 21 778 592
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110124/84e11ade/attachment.html
More information about the Delphi
mailing list