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.

67 lines
1.3 KiB

  1. // DomSel.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "resource.h"
  5. #include "DomSel.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CDomainSelDlg dialog
  13. CDomainSelDlg::CDomainSelDlg(CWnd* pParent /*=NULL*/)
  14. : CDialog(CDomainSelDlg::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CDomainSelDlg)
  17. m_Domain = _T("");
  18. //}}AFX_DATA_INIT
  19. }
  20. void CDomainSelDlg::DoDataExchange(CDataExchange* pDX)
  21. {
  22. CDialog::DoDataExchange(pDX);
  23. //{{AFX_DATA_MAP(CDomainSelDlg)
  24. DDX_Text(pDX, IDC_DOMAIN, m_Domain);
  25. //}}AFX_DATA_MAP
  26. }
  27. BEGIN_MESSAGE_MAP(CDomainSelDlg, CDialog)
  28. //{{AFX_MSG_MAP(CDomainSelDlg)
  29. //}}AFX_MSG_MAP
  30. END_MESSAGE_MAP()
  31. /////////////////////////////////////////////////////////////////////////////
  32. // CDomainSelDlg message handlers
  33. void CDomainSelDlg::OnOK()
  34. {
  35. UpdateData(TRUE);
  36. CDialog::OnOK();
  37. }
  38. void CDomainSelDlg::OnCancel()
  39. {
  40. UpdateData(TRUE);
  41. CDialog::OnCancel();
  42. }
  43. BOOL CDomainSelDlg::OnInitDialog()
  44. {
  45. CDialog::OnInitDialog();
  46. // TODO: Add extra initialization here
  47. return TRUE; // return TRUE unless you set the focus to a control
  48. // EXCEPTION: OCX Property Pages should return FALSE
  49. }