|
/* HelpSheetDlg.cpp
*
* Copyright (c) 2004-2006 by toxcct. All rights reserved.
* Consult your license regarding permissions and restrictions.
*/
// HelpSheetDlg.cpp : implementation file
//
#include "stdafx.h"
#include "VisualCalc.h"
#include "HelpSheetDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNAMIC(CHelpSheetDlg, CPropertySheet)
// Constructor
CHelpSheetDlg::CHelpSheetDlg(LPCTSTR pszVersion)
:CPropertySheet("", NULL, 0) {
this->m_hIcon = AfxGetApp()->LoadIcon(IDI_HELP);
this->m_psh.hIcon = m_hIcon;
this->m_psh.dwFlags |= PSP_USEHICON;
this->m_psh.dwFlags |= PSH_NOAPPLYNOW;
this->m_psh.dwFlags &= ~PSH_HASHELP;
CString strApplication, strCaption;
strApplication.LoadString(IDS_VISUALCALC);
strCaption.Format(IDS_HELP, strApplication, pszVersion);
this->SetTitle(strCaption);
this->AddPage(&m_FunctionsPage);
this->AddPage(&m_OperatorsPage);
this->AddPage(&m_ErrorCodesPage);
}
// Destructor
CHelpSheetDlg::~CHelpSheetDlg() {
}
BEGIN_MESSAGE_MAP(CHelpSheetDlg, CPropertySheet)
//{{AFX_MSG_MAP(CHelpSheetDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
|
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.