Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPSyntaxEditCtrl Scroll To Bottom
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPSyntaxEditCtrl Scroll To Bottom

 Post Reply Post Reply
Author
Message
thodgson View Drop Down
Groupie
Groupie


Joined: 11 August 2003
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote thodgson Quote  Post ReplyReply Direct Link To This Post Topic: CXTPSyntaxEditCtrl Scroll To Bottom
    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)
Product: Xtreme Toolkit v13.1
Platform: Vista(x64)-SP1
Language: Visual C++ 6.0
Currently: Satisfied w/ Toolkit
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.113 seconds.