Has anyone experience of synchronizing multi-line edit controls?
My application has two multi-line edit controls side-by-side. The controls
are subclassed and syncronised so that any scroll action in one is mirrored
in the other. I syncronize the panes in response to %WM_MOUSEWHEEL,
%WM_LBUTTONDOWN, %WM_KEYDOWN, %WM_CHAR and %WM_VSCROLL. All works very
well except for the case when one pane auto-scrolls to bring the caret
into view. This can happen when I resize the application (from maximised
to restored). It can also happen when I "Undo" so that text below the
current caret position is restored.
Does this "auto-scroll" action generate any window message I can intercept?
Keith
------------------
My application has two multi-line edit controls side-by-side. The controls
are subclassed and syncronised so that any scroll action in one is mirrored
in the other. I syncronize the panes in response to %WM_MOUSEWHEEL,
%WM_LBUTTONDOWN, %WM_KEYDOWN, %WM_CHAR and %WM_VSCROLL. All works very
well except for the case when one pane auto-scrolls to bring the caret
into view. This can happen when I resize the application (from maximised
to restored). It can also happen when I "Undo" so that text below the
current caret position is restored.
Does this "auto-scroll" action generate any window message I can intercept?
Keith
------------------
Comment