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.

62 lines
1.4 KiB

  1. // UMAbout.cpp : implementation file
  2. // Author: J. Eckhardt, ECO Kommunikation
  3. // Copyright (c) 1997-1999 Microsoft Corporation
  4. //
  5. #include <afxwin.h> // MFC core and standard components
  6. #include <afxext.h> // MFC extensions
  7. #include "UManDlg.h"
  8. #include "UMAbout.h"
  9. #include "UtilMan.h"
  10. #ifdef _DEBUG
  11. #define new DEBUG_NEW
  12. #undef THIS_FILE
  13. static char THIS_FILE[] = __FILE__;
  14. #endif
  15. extern "C" HWND aboutWnd;
  16. /////////////////////////////////////////////////////////////////////////////
  17. // UMAbout dialog
  18. UMAbout::UMAbout(CWnd* pParent /*=NULL*/)
  19. : CDialog(UMAbout::IDD, pParent)
  20. {
  21. //{{AFX_DATA_INIT(UMAbout)
  22. // NOTE: the ClassWizard will add member initialization here
  23. //}}AFX_DATA_INIT
  24. }
  25. void UMAbout::DoDataExchange(CDataExchange* pDX)
  26. {
  27. CDialog::DoDataExchange(pDX);
  28. //{{AFX_DATA_MAP(UMAbout)
  29. // NOTE: the ClassWizard will add DDX and DDV calls here
  30. //}}AFX_DATA_MAP
  31. }
  32. BEGIN_MESSAGE_MAP(UMAbout, CDialog)
  33. //{{AFX_MSG_MAP(UMAbout)
  34. ON_WM_CLOSE()
  35. //}}AFX_MSG_MAP
  36. END_MESSAGE_MAP()
  37. /////////////////////////////////////////////////////////////////////////////
  38. // UMAbout message handlers
  39. BOOL UMAbout::OnInitDialog()
  40. {
  41. CDialog::OnInitDialog();
  42. aboutWnd = m_hWnd;
  43. return TRUE; // return TRUE unless you set the focus to a control
  44. // EXCEPTION: OCX Property Pages should return FALSE
  45. }
  46. void UMAbout::OnClose()
  47. {
  48. CDialog::OnClose();
  49. }