Titus Information Systems, Inc.

Standard Library
CSDisView Class

This class is inherited from CScrollView and provides several additional public member functions and variables to control the viewing of the Standard Display text file in the application frame window.  This class is normally instantiated by the TWinApp class and is not normally inherited, overridden, or in any way used in a stand-alone fashion by C++ functions.  The member functions and variables are as follows:

CSDisView::CSDisView()
This is the constructor.  It initializes the data members.
CSDisView::~CSDisView()
This is the destructor.  It deallocates the data members.
CSDisFile CSDisView::SDisFile
This data member instantiates the class that manages file I/O to the Standard Display file currently being viewed.
virtual BOOL CSDisView::Create(CFrameWnd*Parent)
This member function creates the child frame window into which the Standard Display text file will be shown.  Specify the TFrameWnd class as the parent.
BOOL CSDisView::OpenFile(CString FileName)
This member function calls the Open() function of the CSDisFile class to open the Standard Display text file.  It then positions the display to the top of the first page.
void CSDisView::CloseFile()
This member function calls the Close() function of the CSDisFile class to close the Standard Display text file.
void CSDisView::OnGotoText()
void CSDisView::OnGotoPage()
void CSDisView::OnDownHalf()
void CSDisView::OnDownScreen()
void CSDisView::OnDownPage()
void CSDisView::OnDownFinal()
short CSDisView::OnDownList(int Continue)
void CSDisView::OnDownLine(int)
void CSDisView::OnUpHalf()
void CSDisView::OnUpScreen()
void CSDisView::OnUpPage()
void CSDisView::OnUpStart()
void CSDisView::OnUpLine(int)
These member functions should be listed in the MESSAGE_MAP of the TFrameWnd class for the application so that they are invoked when the user selects the corresponding tool bar button.  These functions "move" the display so the user can view the entire Standard Display text file.
void CSDisView::OnPrintScreen()
void CSDisView::OnPrintPage()
void CSDisView::OnPrintRemain()
void CSDisView::OnPrintEntire()
These member functions should be listed in the MESSAGE_MAP of the TFrameWnd class for the application so that they are invoked when the user selects the corresponding tool bar button.  These functions send to the printer the specified portion of the Standard Display text file.  The TPrintDialog class is invoked for the user to select the desired printer.


[ CBinaryFile | TCommandLineInfo | CCommaFile | TDateCtrl | CDDE | CDdeClient | CDdeServer ]
[ CDirectoryLocator | CDirectoryDialog | CDirectoryFind | CDirectoryNew | CFileCopy | TFrameWnd ]
[ InterfaceExcel | CMaintFn | CPrintFile | CProcDialog | TPrintDialog | CProcPropertyPage ]
[ CProgress | CRegistry | CSDisCreate | CSDisFile | CSDisPage | CTableFile ]
[ CTaskIcon | TPresent | TTime | TDate | TDateTime | CTransferData | TWinApp | CXlTable ]

[ Stand-alone Programs | Standard Library | Conversion Functions | Utility Functions | COBOL Functions ]
[ Windows NT Library | COBOL Library | COBOL Interface | Command Prompt Abbreviations | Purchase Instructions ]

[ Home | Areas of Expertise | "We Do Windows" | Clients and Projects | Software Samples | Package Software Available ]
[ Contact Information | Business Software Philosophy | Church Software Philosophy ]
All contents of this web site are Copyright © Titus Information Systems, Inc., Phoenix, Arizona, U.S.A.