1 /* -*- tab-width: 4 -*-
2  *
3  * Electric(tm) VLSI Design System
4  *
5  * File: graphpcchildframe.h
6  * interface of the CChildFrame class
7  * Written by: Steven M. Rubin, Static Free Software
8  *
9  * Copyright (c) 2000 Static Free Software.
10  *
11  * Electric(tm) is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * Electric(tm) is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with Electric(tm); see the file COPYING.  If not, write to
23  * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
24  * Boston, Mass 02111-1307, USA.
25  *
26  * Static Free Software
27  * 4119 Alpine Road
28  * Portola Valley, California 94028
29  * info@staticfreesoft.com
30  */
31 
32 /////////////////////////////////////////////////////////////////////////////
33 
34 #if !defined(AFX_GRAPHPCCHILDFRAME_H__07673648_BC3A_11D1_A088_0080C8775F8C__INCLUDED_)
35 #define AFX_GRAPHPCCHILDFRAME_H__07673648_BC3A_11D1_A088_0080C8775F8C__INCLUDED_
36 
37 #ifndef VK_OEM_PLUS
38 #  define VK_OEM_PLUS       0xBB   // '+' any country
39 #endif
40 #ifndef VK_OEM_COMMA
41 #  define VK_OEM_COMMA      0xBC   // ',' any country
42 #endif
43 #ifndef VK_OEM_MINUS
44 #  define VK_OEM_MINUS      0xBD   // '-' any country
45 #endif
46 #ifndef VK_OEM_PERIOD
47 #  define VK_OEM_PERIOD     0xBE   // '.' any country
48 #endif
49 
50 #if _MSC_VER >= 1000
51 #pragma once
52 #endif // _MSC_VER >= 1000
53 
54 class CChildFrame : public CMDIChildWnd
55 {
56 	DECLARE_DYNCREATE(CChildFrame)
57 public:
58 	CChildFrame();
59 
60 /* Attributes */
61 public:
62 	int  m_wndFloating;
63 
64 /* Operations */
65 public:
66 
67 /* Overrides */
68 	// ClassWizard generated virtual function overrides
69 	//{{AFX_VIRTUAL(CChildFrame)
70 	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
71 	//}}AFX_VIRTUAL
72 
73 /* Implementation */
74 public:
75 	virtual ~CChildFrame();
76 #ifdef _DEBUG
77 	virtual void AssertValid() const;
78 	virtual void Dump(CDumpContext& dc) const;
79 #endif
80 
81 /* Generated message map functions */
82 protected:
83 	//{{AFX_MSG(CChildFrame)
84 	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
85 	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
86 	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
87 	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
88 	afx_msg void OnMButtonDblClk(UINT nFlags, CPoint point);
89 	afx_msg void OnMButtonDown(UINT nFlags, CPoint point);
90 	afx_msg void OnMButtonUp(UINT nFlags, CPoint point);
91 	afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
92 	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
93 	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
94 	afx_msg void OnPaint();
95 	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
96 	afx_msg void OnSize(UINT nType, int cx, int cy);
97 	afx_msg void OnClose();
98 	afx_msg void OnMDIActivate(BOOL bActivate, CWnd* pActivateWnd, CWnd* pDeactivateWnd);
99 	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
100 	afx_msg void OnMove(int x, int y);
101 	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
102 	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
103 	//}}AFX_MSG
104 	DECLARE_MESSAGE_MAP()
105 };
106 
107 /////////////////////////////////////////////////////////////////////////////
108 
109 //{{AFX_INSERT_LOCATION}}
110 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
111 
112 #endif // !defined(AFX_GRAPHPCCHILDFRAME_H__07673648_BC3A_11D1_A088_0080C8775F8C__INCLUDED_)
113