// PicfixAboutDlg.cpp : implementation file // #include "stdafx.h" #include "picfix.h" #include "PicfixAboutDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CPicfixAboutDlg dialog CPicfixAboutDlg::CPicfixAboutDlg(CWnd* pParent /*=NULL*/) : CDialog(CPicfixAboutDlg::IDD, pParent) { //{{AFX_DATA_INIT(CPicfixAboutDlg) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } void CPicfixAboutDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CPicfixAboutDlg) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CPicfixAboutDlg, CDialog) //{{AFX_MSG_MAP(CPicfixAboutDlg) ON_BN_CLICKED(IDC_EMAIL_BTN, OnEmailBtn) ON_BN_CLICKED(IDC_HP_BTN, OnHpBtn) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CPicfixAboutDlg message handlers void CPicfixAboutDlg::OnEmailBtn() { CString cmd("mailto:gabest@freemail.hu"); ShellExecute(m_hWnd, "open", cmd, NULL, NULL, SW_SHOWNORMAL); } void CPicfixAboutDlg::OnHpBtn() { CString cmd("http://gabest.terrashare.com"); ShellExecute(m_hWnd, "open", cmd, NULL, NULL, SW_SHOWNORMAL); }