my question is as is:How to detect if a scrollbar is at or not at the end of a richtextbox?
edit: when I say at the end I mean completely scrolled to the bottom, not anywhere else.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check out the
GetScrollRangeandGetScrollPosAPI…Notes:
To determine if the scrollbar is visible, call
GetWindowLongand check forWS_VSCROLLTo determine the max value the slider can get to, call
GetScrollInfo; I think the maximum value is