wxTextCtrl::GetScrollPos always returns 0
Vadim Zeitlin
vadim at wxwidgets.org
Thu Apr 3 05:45:08 PDT 2008
On Thu, 03 Apr 2008 12:43:20 +0530 Lloyd <lloyd at cdactvm.in> wrote:
L> GetScrollPos(wxVERTICAL); for a multi lined wxTextCtrl always returns 0.
L> Is it the defined behaviour?
Yes, GetScrollPos() and other scrolling-related functions only work for
scrollbars managed by wx and not for the native controls scrollbars. Of
course, these functions should never have been part of classes such as
wxTextCtrl at all but, well, too late to change this any more.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list