Keyboard Detection on a Tablet PC RRS feed

  • Question

  • I need to change the behavior of my program depending on whether a keyboard is attached to the PC or all input will be through the touch screen.  My first target is a Windows XP tablet but this needs to work with any of the newer versions as well.


    How do I determine if a keyboard is attached to the PC?  Or alternatively if this is a tablet device with a touch screen?

    Thursday, May 13, 2010 3:06 PM

All replies

  • Try the Ink, Windows Touch, and Tablet PC Development forum.

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP
    Thursday, May 13, 2010 9:09 PM
  • Another solution would be if I could detect that the Tablet Input Panel was visible.  How would one do that?

    I would like to do this directly from unmanaged C++ code.

    Monday, May 17, 2010 2:16 PM