1. RE: Digest for EUforum at topica.com, issue 5806

> Subject: Re: Undo stack in RichEdit+
> 
> 
> posted by: Al Getz <Xaxo at aol.com>
> 
> Hi Antonio,
> 
> Ok, the final decision is of course up to you.
> 
> You can see the 'change' status, as there is a message for that
> if it's in an edit text like Rich Edit i believe.
> 
> 
> Al
> 
> 
> My bumper sticker: "I brake for LED's"
> 
>  From "Black Knight":
> "I can live with losing the good fight,
>  but i can not live without fighting it".
> "Well on second thought, maybe not."
> 

I carefully read those dos aain, and the entry for EM_GETREDONAME says it
returns data for "the last action". So it just won't let you inspect the
whole stack, quite expectedly as this is a _stack_ - you only can access the
top element of it.
So you are left with listening to the EN_UPDATE notifications, discarding
the ones that come from inner printable keystrokes. By "inner", I mean one
that doesn't start a sequence of printable keystrokes, since the normal
behaviour of the control is to group them into one action.
Yoou can use EN_CHANGE instead, but you need to ask the control to emit it.
EN_UPDATE is always sent on v2.0+ controls.

CChris

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu