Jawab Invoking the touch keyboard in wpf application

  • Friday, June 22, 2012 8:11 AM
     
     

    Hi,

    I have a wpf application with a TextBox. I run this on Windows 8.

    But when i tap inside Textbox the touch keyboard is not shown.

    Regards,

    Sharda.

All Replies

  • Tuesday, June 26, 2012 5:04 AM
    Moderator
     
     Answered

    Hi Sharda Iyer,

    AFAIK, application will not invoke touch keyboard except metro application, and you could try to touch the touch keyboard button on desktop to invoke the touch keyboard.

    Best regards,


    Sheldon _Xiao[MSFT]
    MSDN Community Support | Feedback to us
    Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.


  • Tuesday, June 26, 2012 7:39 AM
     
     

    Hi,

    I'm stuggeling with the same issue.

    Is it possible to start the Touch keyboard with an WinAPI call? Or like Process.Start("OSK"); Or another shortcut?

    Thanks!


    • Edited by MrCamelCase Tuesday, June 26, 2012 8:55 AM
    •  
  • Friday, July 06, 2012 8:17 AM
    Moderator
     
     

    Hi Sharda Iyer,
     
    I am marking your issue as "Answered", if you have new findings about your issue, please let me know.


    Best regards,


    Sheldon _Xiao[MSFT]
    MSDN Community Support | Feedback to us
    Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Saturday, September 01, 2012 12:42 AM
     
     

    The problem is that this is a real copout answer...

    Windows 8 is meant to provide seamless transition between WinRT styled apps and the desktop. This clearly isn't doing it in this case...

    My particular WPF app needs to be WPF because WinRT doesn't give me the flexibility I need (storage options, folder access, etc.) but it is STYLED like a WinRT app because the (ex) Metro design is REALLY simple and end-user friendly. Not being able to use it touch screen (because of inability to enter text with virtual keyboard) is a huge issue for me. Is there any word of it ever being supported? osk.exe just isn't a nice keyboard to use.

  • Friday, September 07, 2012 6:47 AM
     
     

    Have you found solution to this ? I have been struggling with same problem for while. Only what I've found is some hints dealing with AutomationPeers but no luck finding examples in that case.

  • Sunday, December 09, 2012 1:05 PM
     
     Proposed Answer Has Code

    Don't know if this helps, but on Windows 8 invoking:

    C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe

    Will bring up the touch keyboard in desktop mode (the one you can access from the taskbar, not the OSK).

    This is not an automated solution, WPF text controls need to be instrumented but works.

    Stefano


    .: Stefano Baraldi, Ph.D. Director @ www.tabulatouch.eu Featuring TouchTop, accelerated multi-touch document and media management for Windows 7 and 8. www.tabulatouchtop.com

    • Proposed As Answer by Gray Knight Thursday, December 13, 2012 7:34 PM
    •  
  • Thursday, December 13, 2012 7:35 PM
     
     
    This works for me just like the osk.exe did for Windows 7. This is a better solution than "Oh, you can't do that unless it is Windows Store app".

    Gray Knight