// DLG_VerOld.cpp : implementation file // #include "stdafx.h" #include "smsmanager.h" #include "DLG_VerOld.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // DLG_VerOld dialog DLG_VerOld::DLG_VerOld(CWnd* pParent /*=NULL*/) : CDialog(DLG_VerOld::IDD, pParent) { //{{AFX_DATA_INIT(DLG_VerOld) //}}AFX_DATA_INIT } void DLG_VerOld::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(DLG_VerOld) DDX_Control(pDX, IDC_A_HTTP, m_S_Http); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(DLG_VerOld, CDialog) //{{AFX_MSG_MAP(DLG_VerOld) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // DLG_VerOld message handlers BOOL DLG_VerOld::OnInitDialog() { CDialog::OnInitDialog(); m_S_Http.SetTextColor( RGB(255,0,0) ); m_S_Http.SetWindowText( m_strURL ); m_S_Http.SetLinkText( m_strURL ); m_S_Http.SetLink( true ); m_S_Http.SetLinkCursor( AfxGetApp()->LoadCursor( IDC_C_HAND ) ); m_S_Http.SetFontSize(16); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE } void DLG_VerOld::SetLink(const TCHAR *pURL) { m_strURL = pURL; }