Re: Edit Control of Window CE 4.2 problem



The edit control doesn't necessarily support storing that amount of data,
just because you set that limit. All the limit does is prevent more than
that amount from being entered. I guess you could call it a bug, but it's
really just the way it works and you should use something else for editing
of huge text streams.

Paul T.

"Jack" <rabbitliu@xxxxxxxxxxx> wrote in message
news:%23KQnQSOZFHA.2124@xxxxxxxxxxxxxxxxxxxxxxx
> Dear all:
>
> Here I meet with a problem about edit control.
> My edit control has multiline property. And I set the max characters
> through EM_LIMITTEXT with prarmeter -1, wanting to including 0x7FFFFFFE
> characters.
> But when I set text, I find that answer isn't right.
> For example, when I reading 500k text contents and set to edit control,
> edit control cannot display all contents. Although the text already set
> right into edit control. It seems that edit control only display about
> 0xFFFF (65,535) characters. But when I call GetWindowText, I can get all
> contents I set, seems that only display has problem.
>
> Anyone meet this problem ? Or is it windows ce 4.2 's bug or can avoid
> it through other method ?
>
> Thanks a lot!
>
> Jack.
>
>
>


.



Relevant Pages

  • Edit Control of Window CE 4.2 problem
    ... Here I meet with a problem about edit control. ... And I set the max characters ... wanting to including 0x7FFFFFFE ... It seems that edit control only display about ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Max size of CEdit ?
    ... That's contrary to the EM_SETLIMITTEXT documentation which states: ... the default limit for the amount of ... text a user can enter in an edit control is 32,767 characters. ...
    (microsoft.public.vc.mfc)
  • Re: Conditional formating in reports - Access 2003
    ... Access report based upon the amount of data to display. ... needed to display those characters. ...
    (microsoft.public.access.modulesdaovba)
  • Re: custom list - minimum column length
    ... >width of the view and then decides for itself the amount ... >> can be squeezed down to 5 characters. ... >> column to have a display with of ... >> horizontally scroll to see the entire row. ...
    (microsoft.public.sharepoint.windowsservices)
  • owner draw variable combo box with edit
    ... subclass the edit control in onctlcolorand override the onpaint ... When an owner-draw style is specified for the combo box style ... Using the SetWindowText function to display the current ... selection in response to a CBN_SELCHANGE message may not be effective. ...
    (microsoft.public.vc.mfc)