2

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

Is the best method to use GetSystemMetrics(MAXTOUCHES_INDEX) ?

StayOnTarget
  • 9,925
  • 10
  • 45
  • 68
Tom
  • 6,722
  • 22
  • 87
  • 151
  • 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