2

How to detect if Touch Screen display is available with Innosetup script?

Is the best method to use GetSystemMetrics(MAXTOUCHES_INDEX) ?

StayOnTarget
  • 11,743
  • 10
  • 52
  • 81
Tom
  • 6,725
  • 24
  • 95
  • 159
  • 1
    Inno Setup does not have an API to detect a touch screen. So if you are asking what is the best Windows API to detect a touch screen, then it indeed seems to be `GetSystemMetrics(MAXTOUCHES_INDEX)` – [How do I detect if a Windows device is touch-enabled](https://stackoverflow.com/q/27803965/850848). – Martin Prikryl Apr 13 '22 at 10:03

0 Answers0