Source code of Windows XP (NT5)
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

  1. // NKFlInfo.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "keyring.h"
  5. #include "NKChseCA.h"
  6. #include "NKFlInfo.h"
  7. #ifdef _DEBUG
  8. #define new DEBUG_NEW
  9. #undef THIS_FILE
  10. static char THIS_FILE[] = __FILE__;
  11. #endif
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CNKFileInfo dialog
  14. CNKFileInfo::CNKFileInfo(CWnd* pParent /*=NULL*/)
  15. : CNKPages(CNKFileInfo::IDD)
  16. {
  17. //{{AFX_DATA_INIT(CNKFileInfo)
  18. m_nkfi_sz_filename = _T("");
  19. //}}AFX_DATA_INIT
  20. }
  21. void CNKFileInfo::DoDataExchange(CDataExchange* pDX)
  22. {
  23. CDialog::DoDataExchange(pDX);
  24. //{{AFX_DATA_MAP(CNKFileInfo)
  25. DDX_Text(pDX, IDC_NK_INFO_FILENAME, m_nkfi_sz_filename);
  26. //}}AFX_DATA_MAP
  27. }
  28. BEGIN_MESSAGE_MAP(CNKFileInfo, CDialog)
  29. //{{AFX_MSG_MAP(CNKFileInfo)
  30. // NOTE: the ClassWizard will add message map macros here
  31. //}}AFX_MSG_MAP
  32. END_MESSAGE_MAP()
  33. //----------------------------------------------------------------
  34. BOOL CNKFileInfo::OnSetActive()
  35. {
  36. // show the target file
  37. m_nkfi_sz_filename = m_pChooseCAPage->m_nkca_sz_file;
  38. UpdateData( FALSE );
  39. m_pPropSheet->SetWizardButtons( PSWIZB_BACK | PSWIZB_FINISH );
  40. return CPropertyPage::OnSetActive();
  41. }
  42. /////////////////////////////////////////////////////////////////////////////
  43. // CNKFileInfo message handlers