Print Page | Close Window

CXTPSyntaxEditCtrl Scroll To Bottom

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=15366
Printed Date: 01 July 2024 at 7:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPSyntaxEditCtrl Scroll To Bottom
Posted By: thodgson
Subject: CXTPSyntaxEditCtrl Scroll To Bottom
Date Posted: 14 October 2009 at 11:37am
Looking for a way to have the control scroll to the bottom (last line).
 
In version 12, the following code worked, but does not now:
 
CXTPSyntaxEditBufferManager *pXTPSyntaxEditBufferManager = this->GetEditBuffer();
pXTPSyntaxEditBufferManager->SetFileExt(".txt");
Scroll(0, pXTPSyntaxEditBufferManager->GetRowCount());

Ideas appreciated.

Thanks


-------------
Tim H( http://www.ExclamationSoft.com - http://www.ExclamationSoft.com )
Product: Xtreme Toolkit v13.1
Platform: Vista(x64)-SP1
Language: Visual C++ 6.0
Currently: Satisfied w/ Toolkit



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