I believe OnMouseMove is relevant to the window that has the focus so I don't see that working. I could detect a global mouse move by analysing Windows messages. But whether that could focus the window before the automatic focusing occurs, I'm not sure.
Ross. From: [email protected] [mailto:[email protected]] On Behalf Of Robo Sent: Saturday, 6 July 2013 6:21 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Touch screen without focus I don't have Delphi at the moment to try it, but can you use OnMouseMove or similar to focus the window at current mouse position? Robo On Saturday, July 6, 2013, Ross Levis <[email protected]> wrote: > I don't have a touch screen here but my app has a couple of windows that were created with touch screens in mind. Some of my users have touch screens to activate buttons to play pre-defined audio files. > > > > A user today mentioned that when the 2 windows are on the screen, if a button is touched (or tapped as they are saying these days) on the window that doesn't have the focus, only the window is given focus and the button doesn't fire. It requires touching twice to fire. This is not the case with a mouse. > > > > Is there a simple solution? > > > > Cheers, > > Ross.
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
