Click to See Complete Forum and Search --> : Multiline Editbox cause problems in my dialogbox


Markusl
May 2nd, 1999, 09:03 AM
I'm using Visual C++ 4 and I have some problems with a multiline editbox. I want it to display a string variable when I push a button.
I add a member variable to the editbox.
CEdit m_Edit. And in the OnButton1() function I add following text.

CEdit m_Edit;
m_Edit.SetWindowText( "hello, edit" );

I get no errors when I compile it, but when I push button1 the program c

Andy St.Clair
May 2nd, 1999, 12:08 PM
Hi,
you say your dialog class already has a CEdit member called m_Edit mapped to the multiline edit%2