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