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

    Programmatically scrolling CEdit?

    I am trying to make a read only edit control that behaves much like the compiler output in MSVC6 and I'm sure plenty of other programs. It should scroll down to include new text, unless the scroll bar is somewhere else (the user moved it). I have a problem though, there is no way to set the scrolling position of the edit control as far as I can tell. If I do m_Edit.SetScrollPos(SB_VERT, Blah); it does move the scroll bar, but the text does not move. Surely this is very simple, but I couldn't find a function that looked like it would do it on MSDN or google.

  2. #2
    Join Date
    Aug 2002
    Posts
    212

    Re: Programmatically scrolling CEdit?

    never mind, found what I was looking for with searching for 'scrolling edit control' rather than 'scrolling CEdit'. DOH!

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