I am trying to use Microsoft Forms 2.0 TextBox in an user interface I am creating using Microsoft Visual C++ 6.0. I have been unable to display any text in the box. I plan on using it to display messages to the user. It will not be editable by the user.
What do I need to do to get it to display messages written to it?
I have tryed the following but it does not work. I not sure this is even the correct approach.
GetDlgItem(IDC_MESSG_TXT)->EnableWindow(FALSE) ;
GetDlgItem(IDC_MESSG_TXT)->EnableWindow(TRUE) ;
GetDlgItem(IDC_MESSG_TXT)->SetWindowText( "this is a test"
Thanks for any help.
What do I need to do to get it to display messages written to it?
I have tryed the following but it does not work. I not sure this is even the correct approach.
GetDlgItem(IDC_MESSG_TXT)->EnableWindow(FALSE) ;
GetDlgItem(IDC_MESSG_TXT)->EnableWindow(TRUE) ;
GetDlgItem(IDC_MESSG_TXT)->SetWindowText( "this is a test"
Thanks for any help.