Announcement

Collapse
No announcement yet.

Text - question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Michael Mattias
    replied
    Maybe you could copy it in pieces to a buffer of your own allocation using EM_GETTEXTRANGE and save your buffer
    Just a thought...

    From the Help file:

    EM_GETTEXTRANGE
    wParam = 0;
    lParam = (LPARAM) (TEXTRANGE FAR *) lpRange;


    The EM_GETTEXTRANGE message retrieves a specified range of characters from a rich edit control.

    Parameters

    lpRange

    Pointer to a TEXTRANGE structure that specifies the range of characters to retrieve and a buffer to copy the characters to.


    MCM


    Leave a comment:


  • Lance Edmonds
    replied
    Please post the code (preferably in compilable form) that you are having trouble with... it's hard to suggest a solution when we have no idea what your code is doing. If the code is large, please try to prune it down to the barest size before posting it.

    Thanks!

    -------------
    Lance
    PowerBASIC Support
    ( mailto:[email protected][email protected]</A> )

    Leave a comment:


  • Guest's Avatar
    Guest started a topic Text - question

    Text - question

    Hi,

    I wonder how i can save the text in a RichTextBox to a file when the
    text is over 200 Kb. I don´t function for me. The save funtion don´t
    take all text....

    Please, help me
Working...
X