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
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to