// About.cpp : implementation file // #include "stdafx.h" #include "dicomapp.h" #include "About.h" ///////////////////////////////////////////////////////////////////////////// // CDicomAbout dialog CDicomAbout::CDicomAbout(CWnd* pParent /*=NULL*/) : CDialog(CDicomAbout::IDD, pParent) { //{{AFX_DATA_INIT(CDicomAbout) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); } void CDicomAbout::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CDicomAbout) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CDicomAbout, CDialog) //{{AFX_MSG_MAP(CDicomAbout) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CDicomAbout message handlers BOOL CDicomAbout::OnInitDialog() { CDialog::OnInitDialog(); SetIcon(m_hIcon, TRUE); // Set big icon SetIcon(m_hIcon, FALSE); // Set small icon return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }