hi,
I want to copy a big text from richedit to clipboard, but only 32kb were copied...
I tried WM_COPY and SetClipboardData(), but both sucks.
Any suggestions, please ?
(S)
I want to copy a big text from richedit to clipboard, but only 32kb were copied...
I tried WM_COPY and SetClipboardData(), but both sucks.
Any suggestions, please ?
(S)
Sm?rebr?d,
Just give this a try and see if it effects the maximum you can transfer to the clipboard.
Regards,
hutch@movsd.com
SendMessage hEdit,%EM_EXLIMITTEXT,0,100000000
Just give this a try and see if it effects the maximum you can transfer to the clipboard.
Regards,
hutch@movsd.com
Thank you, hutch,
My programm uses EXLIMITTEXT but not the programm, I wanted to copy the text to.
It wasn't a COPY error, only a PASTE error ;-))
Thanks
(S)
My programm uses EXLIMITTEXT but not the programm, I wanted to copy the text to.
It wasn't a COPY error, only a PASTE error ;-))
Thanks
(S)
Sm?rebr?d - apologies for digressing from your topic in this thread
hutch - i'm very interested in what made you choose to set EM_EXLIMITTEXT to 100000000 - i saw you'd used that in the richedit sample with masm32
obviously it is a VERY LARGE NUMBER but was the choice empirical or do you have some knowledge you could share with us?
i was having a problem editing 50-60k files even after setting EM_EXLIMITTEXT to 200k and it wasn't until i set EM_EXLIMITTEXT to minimum of (400000) or (9*file size) that the problem seems to have stopped
while i'm on: well done for all the stuff you're doing for this 'community' and i thought i'd let you know that even some of us 'pommies' enjoy your aussie humour...
regards
eGo
hutch - i'm very interested in what made you choose to set EM_EXLIMITTEXT to 100000000 - i saw you'd used that in the richedit sample with masm32
obviously it is a VERY LARGE NUMBER but was the choice empirical or do you have some knowledge you could share with us?
i was having a problem editing 50-60k files even after setting EM_EXLIMITTEXT to 200k and it wasn't until i set EM_EXLIMITTEXT to minimum of (400000) or (9*file size) that the problem seems to have stopped
while i'm on: well done for all the stuff you're doing for this 'community' and i thought i'd let you know that even some of us 'pommies' enjoy your aussie humour...
regards
eGo
eGo,
I have found that using very large numbers removes the problem of self imposed limits, in test I can get 50 meg + into a rich edit control but it is slow because of the line count. Practical limit depending on how you load the control is about 10 - 15 meg.
--------------
and i thought i'd let you know that even some of us 'pommies' enjoy your aussie humour...
--------------
I am glad someone gets it. :tongue:
Regards,
hutch@movsd.com
I have found that using very large numbers removes the problem of self imposed limits, in test I can get 50 meg + into a rich edit control but it is slow because of the line count. Practical limit depending on how you load the control is about 10 - 15 meg.
--------------
and i thought i'd let you know that even some of us 'pommies' enjoy your aussie humour...
--------------
I am glad someone gets it. :tongue:
Regards,
hutch@movsd.com
ok - thanks