Re: Edit Control of Window CE 4.2 problem
- From: "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
- Date: Tue, 31 May 2005 10:28:02 -0700
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.
>
>
>
.
- References:
- Edit Control of Window CE 4.2 problem
- From: Jack
- Edit Control of Window CE 4.2 problem
- Prev by Date: Re: SDK Development problems
- Next by Date: Re: dot net cf updata
- Previous by thread: Edit Control of Window CE 4.2 problem
- Next by thread: SMC9000.LIB -----> EBOOT
- Index(es):
Relevant Pages
|
|