Print Page | Close Window

HOWTO: Auto scroll content

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Syntax Edit
Forum Description: Topics Related to Codejock Syntax Edit
URL: http://forum.codejock.com/forum_posts.asp?TID=24054
Printed Date: 28 April 2024 at 3:56am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HOWTO: Auto scroll content
Posted By: mgampi
Subject: HOWTO: Auto scroll content
Date Posted: 16 September 2020 at 7:36am
Hi;

I use the CXTPSyntaxEditCtrl to show log entries.
Whenever a new line is put into the window, I scroll to the end of the document to show the new row.
But, I don't want to scroll to the end when the user scrolled up to show older entries.
So how can I determine, if the scrollbar is on bottom of the range, just before a new line is appended to the control?


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: mgampi
Date Posted: 16 September 2020 at 8:09am
Forget it!
I just found the solution by myself.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net