in reply to Re: How can I reset the vertical scroll position in Perl using Win32::GUI?
in thread How can I reset the vertical scroll position in Perl using Win32::GUI?
I just noticed another thing: in the text field Scroll method (Textfield.xs:524), the last thing the method does is to send EM_SCROLLCARET (Textfield.xs:586), which is the only thing that ScrollCaret does.
On the other hand, ScrollPos only acts on the scrollbar, so it doesn't know what attached fields to update.
If simply calling ScrollCaret doesn't work (I haven't tested it), passing SB_TOP to Scroll might.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How can I reset the vertical scroll position in Perl using Win32::GUI?
by ZJ_Mike (Initiate) on Dec 31, 2009 at 11:01 UTC | |
by Anonymous Monk on Dec 31, 2009 at 12:57 UTC | |
by ZJ_Mike (Initiate) on Dec 31, 2009 at 14:00 UTC |