|
-
May 1st, 1999, 06:27 PM
#1
Cant get editbox to display text
I'm using Visual C++ 4.
How do I make an editbox display text or a string variable.
-
May 1st, 1999, 07:01 PM
#2
Re: Cant get editbox to display text
if 4 works like 5&6, then....
CString teststr = "hello world";
//where teststr is the member variable to the control//
UpdateData(false);
-
May 1st, 1999, 08:08 PM
#3
Re: Cant get editbox to display text
CEdit edit1;
.....
edit1.SetWindowText( "hello, edit" );
CString str1( "my string" );
edit1.SetWindowText( str1 );
Sally
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|