October 8th, 2012, 03:43 PM
Any Codejock Users Out there?
I am finally getting back into writing code and need a little help. I still have the XTP ToolKit version 13. I am trying to do something very simple and for the life of me can't figure it out. Here is my situation.
I created a basic new project with multi documents. I can read a document into memory and it displays in the child frame. Since the XTPro Toolkit uses it's own class to control this document I don't understand how to retake control and manipulate the document (XTPEditCtrl::GetTopRow, XTPEditCtrl::SetTopRow, XTPEditCtrl::GetLineText, XTPEditCtrl::SetText, etc.).
How do I obtain a pointer to the document and then retrieve the contents for GetTopRow, SetTopRow, GetLineText, SetText, etc.
An example would be most appreciated. I have been trying to do this for over a week and I am learning stuff, but not what I need at the moment
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!