Keyboard input not registered in UWP Textbox loaded in a Dialog based application(MFC).

Henry 21 Reputation points
2020-11-16T09:17:32.423+00:00

Various components like Button, CheckBox, Listbox. TextBox etc. are loaded in an MFC application using DesktopWindowXamlSource. All components are working as expected except TextBox and RichEditBox.

TextBox and RichEditBox are not allowing any input using keyboard. However text copied from somewhere else can be successfully pasted in the TextBox. Backspace and Delete also works on the pasted Text but other than that no other inputs can be given using keyboard.
The issue is present only in the case of Dialog based applications (C++ MFC).

Is this a feature that is currently not supported or is there some workaround for this specific issue?

Universal Windows Platform (UWP)
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,734 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.