mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.1 KiB
57 lines
1.1 KiB
#include "pch.h"
|
|
#pragma hdrstop
|
|
|
|
#include "tapihdr.h"
|
|
#include "dialsht.h"
|
|
|
|
CSecurityPage::CSecurityPage(CDialUpSheet* pSheet) : PropertyPage(pSheet)
|
|
{
|
|
}
|
|
|
|
CSecurityPage::~CSecurityPage()
|
|
{
|
|
}
|
|
|
|
BOOL CSecurityPage::OnInitDialog()
|
|
{
|
|
return TRUE;
|
|
}
|
|
|
|
BOOL CSecurityPage::OnCommand(WPARAM wParam, LPARAM lParam)
|
|
{
|
|
BOOL bResult = FALSE;
|
|
WORD nID = LOWORD(wParam);
|
|
WORD notify = HIWORD(wParam);
|
|
|
|
CDialUpSheet* pSheet = GetParentObject(CDialUpSheet, m_rsrcPage);
|
|
|
|
return PropertyPage::OnCommand(wParam, lParam);
|
|
}
|
|
|
|
|
|
int CSecurityPage::OnApply()
|
|
{
|
|
BOOL nResult = PSNRET_NOERROR;
|
|
CDialUpSheet* pSheet = GetParentObject(CDialUpSheet, m_rsrcPage);
|
|
|
|
WinHelp((HWND)*this, pSheet->m_helpFile, HELP_QUIT, 0);
|
|
|
|
if (!IsModified())
|
|
return nResult;
|
|
|
|
// SaveRegistry(&pSheet->m_globalInfo, pSheet->m_pAdapterInfo);
|
|
|
|
SetModifiedTo(FALSE); // this page is no longer modified
|
|
pSheet->SetSheetModifiedTo(TRUE);
|
|
|
|
return nResult;
|
|
}
|
|
|
|
void CSecurityPage::OnHelp()
|
|
{
|
|
CDialUpSheet* pSheet = GetParentObject(CDialUpSheet, m_rsrcPage);
|
|
|
|
// pSheet->DisplayHelp(::GetParent((HWND)*this), HC_IPX_HELP);
|
|
}
|
|
|
|
|