2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 * $Logfile: /Freespace2/code/FRED2/Grid.h $
15 * Grid dialog box created by Mike. Probably will never be used again.
18 * Revision 1.2 2002/06/09 04:41:13 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 2 10/07/98 6:28p Dave
26 * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
27 * Fred. Globalized mission and campaign file extensions. Removed Silent
28 * Threat specific code.
30 * 1 10/07/98 3:01p Dave
32 * 1 10/07/98 3:00p Dave
34 * 2 2/17/97 5:28p Hoffoss
35 * Checked RCS headers, added them were missing, changing description to
36 * something better, etc where needed.
41 /////////////////////////////////////////////////////////////////////////////
44 class CGrid : public CDialog
51 CGrid(CWnd* pParent = NULL); // standard constructor
58 enum { IDD = IDD_GRID };
64 // ClassWizard generated virtual function overrides
65 //{{AFX_VIRTUAL(CGrid)
67 virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
68 virtual BOOL DestroyWindow();
70 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
76 // Generated message map functions
78 afx_msg void OnGridXyPlane();
79 afx_msg void OnGridXzPlane();
80 afx_msg void OnGridYzPlane();
81 afx_msg void OnClose();
82 afx_msg void OnDestroy();
83 afx_msg void OnKillFocus(CWnd* pNewWnd);
84 virtual BOOL OnInitDialog();
85 afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);