|
/**********************************************************************
UML StateWizard provides its software under the LGPL License and
zlib/libpng License.
Email us at info@intelliwizard.com for any information, suggestions and
feature requestions.
Home Page: http://www.intelliwizard.com
*************************************************************************/
// AboutDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Addin.h"
#include "AboutDlg.h"
#include ".\aboutdlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#ifdef VS2005
#define STR_IDE "for MS VS2005"
#else
#define STR_IDE "for MS VS2003"
#endif
// CAboutDlg dialog
IMPLEMENT_DYNAMIC(CAboutDlg, CDialog)
CAboutDlg::CAboutDlg(CWnd* pParent /*=NULL*/)
: CDialog(CAboutDlg::IDD, pParent)
{
}
CAboutDlg::~CAboutDlg()
{
}
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
ON_EN_CHANGE(IDC_EDIT_WEB, &CAboutDlg::OnEnChangeEditWeb)
END_MESSAGE_MAP()
// CAboutDlg message handlers
BOOL CAboutDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
//HICON hIcon = LoadIcon(theApp.m_hInstance, MAKEINTRESOURCE(IDI_WIZARD));
//ASSERT(hIcon!=NULL);
//SetIcon(hIcon,TRUE);
GetDlgItem(IDC_ABOUT_VER)->SetWindowText(STR_VERSION);
GetDlgItem(IDC_EDIT_WEB)->SetWindowText("http://www.intelliwizard.com");
GetDlgItem(IDC_EDIT_EMAIL)->SetWindowText("info@intelliwizard.com");
GetDlgItem(IDC_STATIC_IDE)->SetWindowText(STR_IDE);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CAboutDlg::OnEnChangeEditWeb()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.