| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- #if !defined(AFX_OPTIONSSHEET_H__D8A13849_DBC6_4CD6_A981_E572ECDC2E94__INCLUDED_)
- #define AFX_OPTIONSSHEET_H__D8A13849_DBC6_4CD6_A981_E572ECDC2E94__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // OptionsSheet.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // COptionsSheet
- class CSetPropertyPageTitle
- {
- public:
- CSetPropertyPageTitle()
- {
-
- }
- ~CSetPropertyPageTitle()
- {
-
- }
- void SetTitle(CString csKey, CString csDefault, AFX_OLDPROPSHEETPAGE &psp)
- {
- CString csText = theApp.m_Language.GetString(csKey, csDefault);
- if(csText.GetLength() > 0)
- {
- pTitle = new char(csText.GetLength());
- strcpy(pTitle, csText);
- psp.pszTitle = pTitle;
- psp.dwFlags |= PSP_USETITLE;
- }
- }
- char *pTitle;
- };
- class COptionsSheet : public CPropertySheet
- {
- DECLARE_DYNAMIC(COptionsSheet)
- // Construction
- public:
- COptionsSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(COptionsSheet)
- public:
- virtual int DoModal();
- virtual BOOL OnInitDialog();
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~COptionsSheet();
- // Generated message map functions
- protected:
- CPropertyPage *m_pKeyBoardOptions;
- CPropertyPage *m_pGeneralOptions;
- CPropertyPage *m_pQuickPasteOptions;
- CPropertyPage *m_pUtilites;
- CPropertyPage *m_pStats;
- CPropertyPage *m_pTypes;
- CPropertyPage *m_pAbout;
- CPropertyPage *m_pFriends;
- //{{AFX_MSG(COptionsSheet)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_OPTIONSSHEET_H__D8A13849_DBC6_4CD6_A981_E572ECDC2E94__INCLUDED_)
|