Titus Information Systems, Inc.

Standard Library
CDirectoryNew Class

This base class is inherited from CDialog and provides public member functions to show a dialog box into which the user may enter the name of a new directory (folder).  The dialog box template is stored in VASOLBP.DLL with an ID of 404.  It is called from the CDirectoryLocator::OnNew() member function.  This function may be inherited or used directly from an instantiation.  The member functions and variables available are as follows:

CDirectoryNew::CDirectoryNew(CWnd*pParent = NULL)
This is the constructor.  It initializes the dialog box as a child of the specified parent.
virtual int CDirectoryNew::DoModal(HICON Icon, CString&Name)
This public member function displays the modal dialog box using the template stored in VASOLBP.DLL.  The dialog box is application modal.  The dialog box icon will be set to Icon.  When the user selects the OK button, Name will be set to the entered directory (folder) string.  The function returns IDOK or IDCANCEL depending on the user's selection.
virtual void CDirectoryNew::DoDataExchange(CDataExchange* pDX)
This member function may be overridden.  If so, be sure the base class member function is called as it performs MFC Dynamic Data Exchange for the CDirectoryNew::Name data member.
virtual BOOL CDirectoryNew::OnInitDialog()
This member function may be overridden.  If so, be sure the base class member function is called as it performs MFC dialog box initialization for the CDirectoryNew::Name data member.
virtual void CDirectoryNew::OnOK()
This function is invoked when the user selects the OK button on the dialog box.  It checks the entered name for validity and causes the CDirectoryNew::DoModal() function to return IDOK.
virtual void CDirectoryNew::OnCancel()
This function is invoked when the user selects the CANCEL button on the dialog box.  It clears the entered name and causes the CDirectoryNew::DoModal() function to return IDCANCEL.
CString CDirectoryNew::Name
This data member may be inherited.  It is used to store the current directory (folder) name that is entered by the user.


[ CBinaryFile | TCommandLineInfo | CCommaFile | TDateCtrl | CDDE | CDdeClient | CDdeServer ]
[ CDirectoryNew | CDirectoryNew | CDirectoryFind | CFileCopy | TFrameWnd ]
[ InterfaceExcel | CMaintFn | CPrintFile | CProcDialog | TPrintDialog | CProcPropertyPage ]
[ CProgress | CRegistry | CSDisCreate | CSDisFile | CSDisPage | CSDisView | 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.