RichEdit refuses to edit >64 Kb!

new topic     » topic index » view thread      » older message » newer message

> Rich edit controls: Use the message EM_EXLIMITTEXT for text length values
> greater than 64K.
>
> Lookup EM_LIMITTEXT in the MS-SDK

I am sorry to report that I could not make EM_EXLIMITTEXT to work for values
greater than 64 Kb.

The lines of code used to try to achieve this were:

-- somewhere in the constants section
textBox = create(RichEdit, "", MainWindow, Default, Default, 1, 1,
ES_NOHIDESEL) -- size is taken care of automatically when the program starts
-- right when the program starts and initializes variables
result = sendMessage(textBox, EM_EXLIMITTEXT, 500000, 0)

Please note that all methods (e.g. LimitText, EM_EXLIMITTEXT or
EM_SETLIMITTEXT) work wonderfully for values UP TO 64 Kb.

I am somewhat stupefied by the ready response of other Euphoria programmers
on this question. Has ANYBODY made RichEdit text boxes work with text size
>64 Kb? If so, could you please send the ACTUAL COMPLETE code?

Kind thanks to all of you for your valuable time.
John Paravantis PhD
Department of Technological Education
UNIVERSITY OF PIRAEUS <thalis.cs.unipi.gr>
jparav at unipi.gr & paravantis at otenet.gr
<http://www.geocities.com/paravantis/index.html>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu