CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: RTF No of lines

  1. #1
    Join Date
    Aug 1999
    Posts
    9

    RTF No of lines

    I want copy line 1-30,30-70,70-110... so on from RTF text box having width 80 character. Is there any wayout to find the line number.

    Regards


  2. #2
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868

    Re: RTF No of lines

    You can use the SendMessage API and EM_GETLINE and EM_GETLINECOUNT messages.


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