Detect and move default on screen keyboard away from edit control. RRS feed

  • Question

  • When user click into edit control default on screen keyboard shows up. However its overlapping the edit control. How to move/popup onscreen keyboard away from edit control. Is there a clean way to detect on screen keyboard is visible and move it away if visible?. User could be running windows 10/8/7 on tablet or touch enabled device. 


    • Edited by sbprasadrao Tuesday, December 19, 2017 9:07 PM
    • Moved by Stanly Fan Monday, December 25, 2017 7:42 AM
    Tuesday, December 19, 2017 9:04 PM

All replies

  • Hi,

    What type of your project is? Is it a Winform application?

    Do you mean you want to develop your winform app in tablet?



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, December 20, 2017 1:26 AM
  • Its a windows forms application. I want it to work on windows 10 tablet mode. Using the link, keyboard was made to popup when clicking inside textbox. However the keyboard is popping up over edit control,

    How to move keyboard away from edit control before popping up?


    var asForm = System.Windows.Automation.AutomationElement.FromHandle(this.Handle)

    Tuesday, January 2, 2018 5:52 PM