CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    10

    Multiline Editbox cause problems in my dialogbox

    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

  2. #2
    Join Date
    May 1999
    Posts
    25

    Re: Multiline Editbox cause problems in my dialogbox

    Hi,
    you say your dialog class already has a CEdit member called m_Edit mapped to the multiline edit%2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured