SetText doesn't work on TextBox?
-
I inserted an ActiveX Control "Microsoft Forms 2.0 TextBox" in my app because it supports unicode character. I can successfully type and retrieve the text from it. But now I can't set the text to it from the code. I tried using the following code, but it doesn't work. There must be something simple that I am missing. Can anyone help me? m_myTextBox.SetText(L"The text"); UpdateData(false);
-
I inserted an ActiveX Control "Microsoft Forms 2.0 TextBox" in my app because it supports unicode character. I can successfully type and retrieve the text from it. But now I can't set the text to it from the code. I tried using the following code, but it doesn't work. There must be something simple that I am missing. Can anyone help me? m_myTextBox.SetText(L"The text"); UpdateData(false);
try: m_myTextBox.UpdateData(FALSE);