Recent

Author Topic: Gestures  (Read 375 times)

jamie

  • Hero Member
  • *****
  • Posts: 2253
Gestures
« on: September 03, 2019, 10:08:26 pm »
Has anyone thought about putting gestures message Handler in the LCL ?

it would need to ignore the system if the app was on an older OS that does not have the API's for it.

it's a matter of handling the WM_GESTURE
Number 1 at blue screen app creations!

winni

  • Hero Member
  • *****
  • Posts: 709
Re: Gestures
« Reply #1 on: September 03, 2019, 10:51:47 pm »
Or if the user was on an older OS that does not want to have the API's for it. Clown stuff.

jamie

  • Hero Member
  • *****
  • Posts: 2253
Re: Gestures
« Reply #2 on: September 04, 2019, 01:19:55 am »
Well, I have a graphics type module on a couple of my apps that has zoom, rotate, shift ect, things that the gestures would be perfect for if they were on a windows tablet type screen.

 I experimented a little with the WM_GESTURE after I found a place to get the constants for them.

 currently it's done with standard button and mouse actions.
Number 1 at blue screen app creations!

Thaddy

  • Hero Member
  • *****
  • Posts: 9399
Re: Gestures
« Reply #3 on: September 04, 2019, 09:11:31 am »
Or if the user was on an older OS that does not want to have the API's for it. Clown stuff.
That would not handle gestures anyway....... Silly answer.
also related to equus asinus.

Thaddy

  • Hero Member
  • *****
  • Posts: 9399
Re: Gestures
« Reply #4 on: September 04, 2019, 09:13:53 am »
Well, I have a graphics type module on a couple of my apps that has zoom, rotate, shift ect, things that the gestures would be perfect for if they were on a windows tablet type screen.

 I experimented a little with the WM_GESTURE after I found a place to get the constants for them.

 currently it's done with standard button and mouse actions.
I agree with you it can be implemented, actually it is already easy to handle with OnMessage. Slightly more cumbersome than downright high-level support, but working.
also related to equus asinus.