11 Sep
2007
11 Sep
'07
5:25 a.m.
"Lei Zhang" <thestig(a)google.com> wrote:
In the tests still there is no actual edit contents/selection changes tracking after every message.
-- Dmitry.
I'm sending WM_GETTEXT to the control and then checking the text after every change. Did you mean something else when you say contents changes tracking?
I mean that after every message you send you need to send WM_GETTEXT and EM_GETSEL messages to the control and check what they return, that's what I call actual edit contents/selection changes tracking. By "what they return" I also mean for WM_GETTEXT not only SendMessage return value but also the contents of the buffer. -- Dmitry.