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.

61 lines
1.6 KiB

  1. // Ed11Maps.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "certmap.h"
  5. #include "brwsdlg.h"
  6. #include "Ed11Maps.h"
  7. #ifdef _DEBUG
  8. #define new DEBUG_NEW
  9. #undef THIS_FILE
  10. static char THIS_FILE[] = __FILE__;
  11. #endif
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CEdit11Mappings dialog
  14. CEdit11Mappings::CEdit11Mappings(CWnd* pParent /*=NULL*/)
  15. : CNTBrowsingDialog(CEdit11Mappings::IDD, pParent)
  16. {
  17. //{{AFX_DATA_INIT(CEdit11Mappings)
  18. m_int_enable = FALSE;
  19. //}}AFX_DATA_INIT
  20. }
  21. void CEdit11Mappings::DoDataExchange(CDataExchange* pDX)
  22. {
  23. CNTBrowsingDialog::DoDataExchange(pDX);
  24. //{{AFX_DATA_MAP(CEdit11Mappings)
  25. DDX_Check(pDX, IDC_ENABLE, m_int_enable);
  26. //}}AFX_DATA_MAP
  27. }
  28. BEGIN_MESSAGE_MAP(CEdit11Mappings, CNTBrowsingDialog)
  29. //{{AFX_MSG_MAP(CEdit11Mappings)
  30. ON_BN_CLICKED(IDC_BTN_HELP, OnBtnHelp)
  31. //}}AFX_MSG_MAP
  32. ON_COMMAND(ID_HELP_FINDER, OnBtnHelp)
  33. ON_COMMAND(ID_HELP, OnBtnHelp)
  34. ON_COMMAND(ID_CONTEXT_HELP, OnBtnHelp)
  35. ON_COMMAND(ID_DEFAULT_HELP, OnBtnHelp)
  36. END_MESSAGE_MAP()
  37. /////////////////////////////////////////////////////////////////////////////
  38. // CEdit11Mappings message handlers
  39. //---------------------------------------------------------------------------
  40. void CEdit11Mappings::OnOK()
  41. {
  42. UpdateData( TRUE );
  43. // call the superclass ok
  44. CNTBrowsingDialog::OnOK();
  45. }
  46. //---------------------------------------------------------------------------
  47. void CEdit11Mappings::OnBtnHelp()
  48. {
  49. WinHelp( HIDD_CERTMAP_BASIC_MAP_MANY );
  50. }