MFC on screen keyboard when focusing editable control

前端 未结 2 893
猫巷女王i
猫巷女王i 2020-12-12 05:31

I want to do a thing conceptually simple as this: For every control that accepts keyboard input(CEdit, CCombobox with Editable text, etc.), when the control is focused and e

相关标签:
2条回答
  • 2020-12-12 05:57

    For Moving OSK window. initially set low integrity to osk screen by command prompt. then you use movewindow function. it ill work.

    0 讨论(0)
  • 2020-12-12 05:58

    One more time, I solved the problem by myself :)

    1) After reading http://social.msdn.microsoft.com/Forums/br/windowsaccessibilityandautomation/thread/aee0be4d-2cf5-45e7-8406-2de3e5d0af03 and http://www.c-plusplus.de/forum/285011-full (German, but Google translator can help), I decided to put the code related on a separate thread. No more hanging when opening CFileDialog windows :)

    2) Project manager said that this is a minor problem :)

    3) After saying to Project manager that it would be needded to pass a security token when executing osk.exe, he replied that that would introduce much complexity in the code for a very simple thing, and it is preferable that application can run in admin mode :)

    4) Not causing problems till now, so let it be :)

    Anyway, thanks for help.

    0 讨论(0)
提交回复
热议问题