(setf scroll-if-not-visible-p) value simple-pane
When pane is given the input focus, and it is not fully visible, and its parent can be scrolled to make the pane visible, then the parent is scrolled automatically. This is the default value.
Never scroll the parent to make a pane visible.
t, except that it does not scroll when the focus is given as a result of a mouse click in
scroll-if-not-visible-p is called by CAPI each time it may need to scroll the parent. The method on simple-pane returns a value that is kept internally, and can be set by the default setf method.
The setter sets the
attribute. It is called when the initarg
:scroll-if-not-visible-p is used in making a simple-pane (or a subclass) instance, and can be called by your program.
CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017