mirror of https://github.com/tongzx/nt5src
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.
55 lines
1.2 KiB
55 lines
1.2 KiB
// NKFlInfo.cpp : implementation file
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "keyring.h"
|
|
#include "NKChseCA.h"
|
|
#include "NKFlInfo.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CNKFileInfo dialog
|
|
|
|
|
|
CNKFileInfo::CNKFileInfo(CWnd* pParent /*=NULL*/)
|
|
: CNKPages(CNKFileInfo::IDD)
|
|
{
|
|
//{{AFX_DATA_INIT(CNKFileInfo)
|
|
m_nkfi_sz_filename = _T("");
|
|
//}}AFX_DATA_INIT
|
|
}
|
|
|
|
|
|
void CNKFileInfo::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CDialog::DoDataExchange(pDX);
|
|
//{{AFX_DATA_MAP(CNKFileInfo)
|
|
DDX_Text(pDX, IDC_NK_INFO_FILENAME, m_nkfi_sz_filename);
|
|
//}}AFX_DATA_MAP
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CNKFileInfo, CDialog)
|
|
//{{AFX_MSG_MAP(CNKFileInfo)
|
|
// NOTE: the ClassWizard will add message map macros here
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
//----------------------------------------------------------------
|
|
BOOL CNKFileInfo::OnSetActive()
|
|
{
|
|
// show the target file
|
|
m_nkfi_sz_filename = m_pChooseCAPage->m_nkca_sz_file;
|
|
UpdateData( FALSE );
|
|
|
|
m_pPropSheet->SetWizardButtons( PSWIZB_BACK | PSWIZB_FINISH );
|
|
return CPropertyPage::OnSetActive();
|
|
}
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CNKFileInfo message handlers
|