Re: Undo stack in RichEdit

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

> > > 
> > Hi Al,
> > 
> > thanks for the advice; 
> > but I don't refer to the absolute POSSIBLE number of these steps 
> > (the LIMIT is 100, with the win32lib 0-59), but the current stack counter, 
> > i.e. how many Undo commands can be executed, or the true number of changes 
> > that culd be undone in any moment.
> > 
> > Somebody else?
> > 
> > antonio
> 
> Hi Antonio,
> 
> 
> Oh i see, well, did you try sending
>   EM_GETREDONAME
> a multiple number of times?
> 
> 

Hi again Al,

EM_GETREDONAME = (WM_USER + 87)

for i = 1 to 5 do
	? sendMessage( TxtArea, EM_GETREDONAME, 0, 0)
end for

1
1
1
1
1

Is that what you mean?
However, if cannot get a direct answer, I've already found another way!

antonio

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

Search



Quick Links

User menu

Not signed in.

Misc Menu