// EditDirectory.cpp : implementation file // #include "stdafx.h" #include "PerforceClientService.h" #include "EditDirectory.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // EditDirectory dialog EditDirectory::EditDirectory(CWnd* pParent /*=NULL*/) : CDialog(EditDirectory::IDD, pParent) { //{{AFX_DATA_INIT(EditDirectory) m_directory = _T(""); //}}AFX_DATA_INIT } void EditDirectory::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(EditDirectory) DDX_Text(pDX, IDC_EDIT1, m_directory); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(EditDirectory, CDialog) //{{AFX_MSG_MAP(EditDirectory) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // EditDirectory message handlers
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 4963 | Jeff Grills |
Major clean up and code reorganization. Add new dialog to control the directories that are watched. Persist the watched directories in the windows registry. Restore the watched directories when the application is run again. Handle login correctly. Change the way error messages are examined to make them significantly more robust. Issue an "info" command at startup to make sure we can communicate with the server and get logged in. Change the icon to the standard P4 icon. Allow the dialog to be minimized to the systray. Clicking on the systray icon will show the dialog again. |