57 lines
1.2 KiB
C++
57 lines
1.2 KiB
C++
// LogoDlg.cpp : implementation file
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "BackgroundPainter.h"
|
|
#include "LogoDlg.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CLogoDlg dialog
|
|
|
|
|
|
CLogoDlg::CLogoDlg(CWnd* pParent /*=NULL*/)
|
|
: CDialog(CLogoDlg::IDD, pParent)
|
|
{
|
|
//{{AFX_DATA_INIT(CLogoDlg)
|
|
// NOTE: the ClassWizard will add member initialization here
|
|
//}}AFX_DATA_INIT
|
|
}
|
|
|
|
|
|
void CLogoDlg::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CDialog::DoDataExchange(pDX);
|
|
//{{AFX_DATA_MAP(CLogoDlg)
|
|
DDX_Control(pDX, IDC_WEBLINK, m_ctlWebLink);
|
|
//}}AFX_DATA_MAP
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CLogoDlg, CDialog)
|
|
//{{AFX_MSG_MAP(CLogoDlg)
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CLogoDlg message handlers
|
|
|
|
BOOL CLogoDlg::OnInitDialog()
|
|
{
|
|
CDialog::OnInitDialog();
|
|
|
|
// TODO: Add extra initialization here
|
|
|
|
m_backPainterOrganizer.Attach(this,IDB_LOGO,Stretch);
|
|
m_backPainterOrganizer.Attach(&m_ctlWebLink,IDB_LOGO,Stretch,
|
|
CLR_DEFAULT,this);
|
|
|
|
return TRUE; // return TRUE unless you set the focus to a control
|
|
// EXCEPTION: OCX Property Pages should return FALSE
|
|
}
|