1 |
26 |
unneback |
//####COPYRIGHTBEGIN####
|
2 |
|
|
//
|
3 |
|
|
// ----------------------------------------------------------------------------
|
4 |
|
|
// Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
|
5 |
|
|
//
|
6 |
|
|
// This program is part of the eCos host tools.
|
7 |
|
|
//
|
8 |
|
|
// This program is free software; you can redistribute it and/or modify it
|
9 |
|
|
// under the terms of the GNU General Public License as published by the Free
|
10 |
|
|
// Software Foundation; either version 2 of the License, or (at your option)
|
11 |
|
|
// any later version.
|
12 |
|
|
//
|
13 |
|
|
// This program is distributed in the hope that it will be useful, but WITHOUT
|
14 |
|
|
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
15 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
16 |
|
|
// more details.
|
17 |
|
|
//
|
18 |
|
|
// You should have received a copy of the GNU General Public License along with
|
19 |
|
|
// this program; if not, write to the Free Software Foundation, Inc.,
|
20 |
|
|
// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
21 |
|
|
//
|
22 |
|
|
// ----------------------------------------------------------------------------
|
23 |
|
|
//
|
24 |
|
|
//####COPYRIGHTEND####
|
25 |
|
|
#if !defined(AFX_CSHPROPERTYSHEET_H__C73B503D_95C1_11D3_A535_00A0C949ADAC__INCLUDED_)
|
26 |
|
|
#define AFX_CSHPROPERTYSHEET_H__C73B503D_95C1_11D3_A535_00A0C949ADAC__INCLUDED_
|
27 |
|
|
|
28 |
|
|
#if _MSC_VER > 1000
|
29 |
|
|
#pragma once
|
30 |
|
|
#endif // _MSC_VER > 1000
|
31 |
|
|
// CSHPropertySheet.h : header file
|
32 |
|
|
//
|
33 |
|
|
|
34 |
|
|
/////////////////////////////////////////////////////////////////////////////
|
35 |
|
|
// CCSHPropertySheet dialog
|
36 |
|
|
#include "CSHCommon.h"
|
37 |
|
|
|
38 |
|
|
class CCSHPropertySheet : public CPropertySheet, public CCSHCommon
|
39 |
|
|
{
|
40 |
|
|
DECLARE_DYNCREATE(CCSHPropertySheet)
|
41 |
|
|
|
42 |
|
|
// Construction
|
43 |
|
|
public:
|
44 |
|
|
|
45 |
|
|
CCSHPropertySheet():CPropertySheet(){};
|
46 |
|
|
CCSHPropertySheet(UINT nIDCaption, CWnd *pParentWnd = NULL, UINT iSelectPage = 0 ):CPropertySheet(nIDCaption,pParentWnd,iSelectPage){}
|
47 |
|
|
CCSHPropertySheet(LPCTSTR pszCaption, CWnd *pParentWnd = NULL, UINT iSelectPage = 0 ):CPropertySheet(pszCaption,pParentWnd,iSelectPage){}
|
48 |
|
|
|
49 |
|
|
virtual ~CCSHPropertySheet();
|
50 |
|
|
|
51 |
|
|
// Dialog Data
|
52 |
|
|
//{{AFX_DATA(CCSHPropertySheet)
|
53 |
|
|
// NOTE - ClassWizard will add data members here.
|
54 |
|
|
// DO NOT EDIT what you see in these blocks of generated code !
|
55 |
|
|
//}}AFX_DATA
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
// Overrides
|
59 |
|
|
// ClassWizard generate virtual function overrides
|
60 |
|
|
//{{AFX_VIRTUAL(CCSHPropertySheet)
|
61 |
|
|
protected:
|
62 |
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
63 |
|
|
//}}AFX_VIRTUAL
|
64 |
|
|
|
65 |
|
|
// Implementation
|
66 |
|
|
protected:
|
67 |
|
|
virtual UINT HelpID (DWORD dwCtrlID) const;
|
68 |
|
|
UINT HelpID(HWND hWnd) const { return HelpID(::GetDlgCtrlID(hWnd)); }
|
69 |
|
|
virtual CString CSHFile() const;
|
70 |
|
|
|
71 |
|
|
virtual HINSTANCE GetInstanceHandle();
|
72 |
|
|
void OnContextMenu(CWnd* pWnd, CPoint point);
|
73 |
|
|
BOOL OnHelpInfo(HELPINFO* pHelpInfo);
|
74 |
|
|
BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult);
|
75 |
|
|
|
76 |
|
|
// Generated message map functions
|
77 |
|
|
//{{AFX_MSG(CCSHPropertySheet)
|
78 |
|
|
virtual BOOL OnInitDialog();
|
79 |
|
|
afx_msg void OnWhatsThis();
|
80 |
|
|
afx_msg void OnHelp();
|
81 |
|
|
//}}AFX_MSG
|
82 |
|
|
DECLARE_MESSAGE_MAP()
|
83 |
|
|
|
84 |
|
|
};
|
85 |
|
|
|
86 |
|
|
//{{AFX_INSERT_LOCATION}}
|
87 |
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
88 |
|
|
|
89 |
|
|
#endif // !defined(AFX_CSHPROPERTYSHEET_H__C73B503D_95C1_11D3_A535_00A0C949ADAC__INCLUDED_)
|