diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-11-28 02:07:56 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-11-28 02:07:56 +0100 |
commit | cf136714caa13e2cd4bf8a69a29c08f3a1518f59 (patch) | |
tree | fe337a877f493cad49f93f80e35212a60e679287 /win32/admin/MainDlg.cpp | |
parent | 9c8ae507985a29b41a22cf30b803141e9ba82a9b (diff) |
Remove admin tool (now in a seperate branch)
Diffstat (limited to 'win32/admin/MainDlg.cpp')
-rw-r--r-- | win32/admin/MainDlg.cpp | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/win32/admin/MainDlg.cpp b/win32/admin/MainDlg.cpp deleted file mode 100644 index e9ecda34..00000000 --- a/win32/admin/MainDlg.cpp +++ /dev/null @@ -1,71 +0,0 @@ -// MainDlg.cpp : implementation file -// - -#include "PropPaths.h" -#include "PropAccess.h"
-#include "PropConn.h" -#include "MainDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CMainDlg - -IMPLEMENT_DYNAMIC(CMainDlg, CPropertySheet) - -CMainDlg::CMainDlg() : CPropertySheet("Bitlbee for Windows") -{ - AddPage(new CPropPaths()); - AddPage(new CPropAccess()); - AddPage(new CPropertyPage(IDD_PROPPAGE_ABOUT));
- AddPage(new CPropConn()); - Create(); - ShowWindow(SW_HIDE); -} - -CMainDlg::~CMainDlg() -{ -} - - -BEGIN_MESSAGE_MAP(CMainDlg, CPropertySheet) - //{{AFX_MSG_MAP(CMainDlg) - ON_WM_CLOSE() - //}}AFX_MSG_MAP - ON_BN_CLICKED(IDOK, OnOK) -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CMainDlg message handlers - -BOOL CMainDlg::OnInitDialog() -{ - m_bModeless = FALSE; - m_nFlags |= WF_CONTINUEMODAL; - - CPropertySheet::OnInitDialog(); - GetDlgItem(IDHELP)->ShowWindow(SW_HIDE); - GetDlgItem(IDCANCEL)->ShowWindow(SW_HIDE); - - m_bModeless = TRUE; - m_nFlags &= WF_CONTINUEMODAL; - - return TRUE; // return TRUE unless you set the focus to a control - // EXCEPTION: OCX Property Pages should return FALSE -} - -void CMainDlg::OnOK() -{ - PressButton(PSBTN_APPLYNOW); - ShowWindow(SW_HIDE); -} - - -void CMainDlg::OnClose() -{ - ShowWindow(SW_HIDE); -}
|