1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00
icecast-server/win32/TabPageSSL.cpp
Michael Smith 15783d12f8 oddsock's win32 port/GUI
svn path=/trunk/icecast/; revision=3787
2002-08-09 15:55:02 +00:00

77 lines
2.0 KiB
C++

#include "stdafx.h"
#include "TabPageSSL.h"
#include "ResizableDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Construction
CTabPageSSL::CTabPageSSL () {
#ifndef _AFX_NO_OCC_SUPPORT
AfxEnableControlContainer ();
#endif // !_AFX_NO_OCC_SUPPORT
}
CTabPageSSL::CTabPageSSL (UINT nIDTemplate, CWnd* pParent /*=NULL*/)
: CResizableDialog(nIDTemplate, pParent) {
#ifndef _AFX_NO_OCC_SUPPORT
AfxEnableControlContainer ();
#endif // !_AFX_NO_OCC_SUPPORT
}
/////////////////////////////////////////////////////////////////////////////
// Destruction
CTabPageSSL::~CTabPageSSL () {
}
/////////////////////////////////////////////////////////////////////////////
// Message Handlers
void CTabPageSSL::OnOK (void) {
//
// Prevent CDialog::OnOK from calling EndDialog.
//
}
void CTabPageSSL::OnCancel (void) {
//
// Prevent CDialog::OnCancel from calling EndDialog.
//
}
BOOL CTabPageSSL::OnCommand (WPARAM wParam, LPARAM lParam) {
// Call base class OnCommand to allow message map processing
CResizableDialog::OnCommand (wParam, lParam);
//
// Forward WM_COMMAND messages to the dialog's parent.
//
return GetParent ()->SendMessage (WM_COMMAND, wParam, lParam);
}
BOOL CTabPageSSL::OnNotify (WPARAM wParam, LPARAM lParam, LRESULT* pResult) {
//
// Forward WM_NOTIFY messages to the dialog's parent.
//
CResizableDialog::OnNotify (wParam, lParam, pResult);
return GetParent ()->SendMessage (WM_NOTIFY, wParam, lParam);
}
BOOL CTabPageSSL::OnCmdMsg (UINT nID, int nCode, void* pExtra,
AFX_CMDHANDLERINFO* pHandlerInfo) {
//
// Forward ActiveX control events to the dialog's parent.
//
#ifndef _AFX_NO_OCC_SUPPORT
if (nCode == CN_EVENT)
return GetParent ()->OnCmdMsg (nID, nCode, pExtra, pHandlerInfo);
#endif // !_AFX_NO_OCC_SUPPORT
return CResizableDialog::OnCmdMsg (nID, nCode, pExtra, pHandlerInfo);
}