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

    How to limit the number of the character in each line in a richeditctrl

    I use a richedit in my dialog,when i use streamin() put some text in it ,some lines is very long that the user must use the hscroll bar to view it,is there any method to limit each line's text number?
    Last edited by lugangxyz; April 8th, 2004 at 10:03 PM.

  2. #2
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211
    Take a look at SetMargins

    void SetMargins( UINT nLeft, UINT nRight );

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