Force digit mode of virtual keyboard RRS feed

  • Question

  • Hello,
    with my team we are developing a C++ Windows application which is based on Qt library for the UI part and on Win32
    API for the rest.
    The minimum Windows version supported is Windows 8.1.

    In the application there are some text fields which accept numbers only. This is done with a Qt Validator.
    I'd like to know if it's possible (with Win32 API) to force the Virtual Keyboard to be displayed in "digits" mode when focus is set on one of those text fields?
    It would be helpful for users which spend time to always change the keyboard mode.


    M Vidoine

    Monday, August 17, 2020 9:17 AM