OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [Utils/] [win32/] [CSHPropertyPage.h] - Blame information for rev 790

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
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_CSHPROPERTYPAGE_H__C73B503D_95C1_11D3_A535_00A0C949ADAC__INCLUDED_)
23
#define AFX_CSHPROPERTYPAGE_H__C73B503D_95C1_11D3_A535_00A0C949ADAC__INCLUDED_
24
 
25
#if _MSC_VER > 1000
26
#pragma once
27
#endif // _MSC_VER > 1000
28
// CSHPropertyPage.h : header file
29
//
30
 
31
/////////////////////////////////////////////////////////////////////////////
32
// CCSHPropertyPage dialog
33
#include "CSHCommon.h"
34
 
35
class CCSHPropertyPage : public CPropertyPage, public CCSHCommon
36
{
37
  DECLARE_DYNCREATE(CCSHPropertyPage)
38
 
39
// Construction
40
public:
41
  CCSHPropertyPage():CPropertyPage(){};
42
  CCSHPropertyPage(UINT nIDTemplate, UINT nIDCaption = 0 ):CPropertyPage(nIDTemplate, nIDCaption){}
43
  CCSHPropertyPage( LPCTSTR lpszTemplateName, UINT nIDCaption = 0 ):CPropertyPage(lpszTemplateName, nIDCaption){}
44
 
45
  virtual ~CCSHPropertyPage();
46
 
47
  // Used by dialogs handling NM_RCLICK notifications to display a context menu to avoid getting two in a row.
48
  void SuppressNextContextMenuMessage() { m_bSupressContextMenu=true; }
49
 
50
  // Dialog Data
51
        //{{AFX_DATA(CCSHPropertyPage)
52
                // NOTE - ClassWizard will add data members here.
53
                //    DO NOT EDIT what you see in these blocks of generated code !
54
        //}}AFX_DATA
55
 
56
 
57
// Overrides
58
        // ClassWizard generate virtual function overrides
59
        //{{AFX_VIRTUAL(CCSHPropertyPage)
60
        protected:
61
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
62
        //}}AFX_VIRTUAL
63
 
64
// Implementation
65
protected:
66
  bool m_bSupressContextMenu;
67
 
68
        CWnd * m_pwndContext;
69
        virtual UINT HelpID (DWORD dwCtrlID) const;
70
  UINT HelpID(HWND hWnd) const { return HelpID(::GetDlgCtrlID(hWnd)); }
71
  virtual CString CSHFile() const;
72
 
73
  virtual HINSTANCE GetInstanceHandle();
74
  void OnContextMenu(CWnd* pWnd, CPoint point);
75
  BOOL OnHelpInfo(HELPINFO* pHelpInfo);
76
  BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult);
77
 
78
        // Generated message map functions
79
        //{{AFX_MSG(CCSHPropertyPage)
80
        afx_msg void OnWhatsThis();
81
        afx_msg void OnHelp();
82
        //}}AFX_MSG
83
        DECLARE_MESSAGE_MAP()
84
 
85
};
86
 
87
//{{AFX_INSERT_LOCATION}}
88
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
89
 
90
#endif // !defined(AFX_CSHPROPERTYPAGE_H__C73B503D_95C1_11D3_A535_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.