You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
3.4 KiB
C++
109 lines
3.4 KiB
C++
// Start =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
// General information section.
|
|
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
// $Author:yongkiang$ User who last changed the file
|
|
// $Date:1/2/2013 12:16:42 PM$ Date and time of last check in
|
|
// $Revision:1.0$ Visual SourceSafe version number
|
|
// $Workfile:: PageSetupDlg.h $ Filename
|
|
// End =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
// {{AFX_INCLUDES()
|
|
#include "FontComb.h"
|
|
#include "ShadeButtonST.h"
|
|
// }}AFX_INCLUDES
|
|
#if !defined(AFX_PAGESETUPDLG_H__9BC53423_FC33_11D6_A863_005004C029CA__INCLUDED_)
|
|
#define AFX_PAGESETUPDLG_H__9BC53423_FC33_11D6_A863_005004C029CA__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// PageSetupDlg.h : header file
|
|
//
|
|
#ifdef BUILD_GUIDLL
|
|
#define DLLCLASS __declspec(dllexport)
|
|
#else
|
|
#define DLLCLASS __declspec(dllimport)
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPageSetupDlg dialog
|
|
class CMainDoc;
|
|
|
|
class DLLCLASS CPageSetupDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
void Setup(void);
|
|
CPageSetupDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
// {{AFX_DATA(CPageSetupDlg)
|
|
enum {
|
|
IDD = IDD_PAGE_SETUP_DLG
|
|
};
|
|
CShadeButtonST m_okBtn;
|
|
CShadeButtonST m_cancelBtn;
|
|
CButton m_arrowIncTop;
|
|
CButton m_arrowIncRight;
|
|
CButton m_arrowIncBottom;
|
|
CButton m_arrowDecTop;
|
|
CButton m_arrowDecRight;
|
|
CButton m_arrowDecBottom;
|
|
CButton m_arrowIncLeft;
|
|
CButton m_arrowDecLeft;
|
|
CFontCombo m_ctrlHeaderFontType;
|
|
CComboBox m_ctrlHeaderFontSize;
|
|
CFontCombo m_ctrlFooterFontType;
|
|
CComboBox m_ctrlFooterFontSize;
|
|
CFontCombo m_ctrlContentFontType;
|
|
CComboBox m_ctrlContentFontSize;
|
|
CString m_strFooterText;
|
|
CString m_strHeaderText;
|
|
CString m_strContentPageFormat;
|
|
short m_iMarginBottom;
|
|
short m_iMarginLeft;
|
|
short m_iMarginRight;
|
|
short m_iMarginTop;
|
|
// }}AFX_DATA
|
|
|
|
CString m_strHeaderFontText;
|
|
CString m_strFooterFontText;
|
|
CString m_strPrintFontText;
|
|
short m_iHeaderFontSize;
|
|
short m_iFooterFontSize;
|
|
short m_iPrintFontSize;
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
// {{AFX_VIRTUAL(CPageSetupDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
// }}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
// {{AFX_MSG(CPageSetupDlg)
|
|
virtual BOOL OnInitDialog();
|
|
virtual void OnOK();
|
|
afx_msg void OnArrowIncLeft();
|
|
afx_msg void OnArrowDecLeft();
|
|
afx_msg void OnArrowIncRight();
|
|
afx_msg void OnArrowDecRight();
|
|
afx_msg void OnArrowIncTop();
|
|
afx_msg void OnArrowDecTop();
|
|
afx_msg void OnArrowIncBottom();
|
|
afx_msg void OnArrowDecBottom();
|
|
// }}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
private:
|
|
void InitIconsButton();
|
|
void Update();
|
|
CMainDoc* m_pDoc;
|
|
};
|
|
|
|
// {{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_PAGESETUPDLG_H__9BC53423_FC33_11D6_A863_005004C029CA__INCLUDED_)
|