Christian Labrie wrote:
> Hello to all,
> 
> Does anybody knows a way, using Windows messages or else, to detect if the a 
> application is running on a normal screen with a keyboard or if it's running 
> on a touchscreen?
> 
> The reason is that in a case of a touchscreen, I would make some components 
> bigger, 'cause my buttons would be too small to click with fingers.
> 
> Thanks

How about the Win32 API GetSystemMetrics()?

SM_PENWINDOWS
SM_TABLETPC
SM_CMOUSEBUTTONS

Look like the most promising entries.

--
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

Safe C++ Design Principles (First Edition)
Learn how to write memory leak-free, secure,
stable, portable, and user-friendly software.

Learn more and view a sample chapter:
http://www.CubicleSoft.com/SafeCPPDesign/



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/delphi-en/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to