Quake-III-Arena

Quake III Arena GPL Source Release
Log | Files | Refs

GroupDlg.h (2938B)


      1 /*
      2 ===========================================================================
      3 Copyright (C) 1999-2005 Id Software, Inc.
      4 
      5 This file is part of Quake III Arena source code.
      6 
      7 Quake III Arena source code is free software; you can redistribute it
      8 and/or modify it under the terms of the GNU General Public License as
      9 published by the Free Software Foundation; either version 2 of the License,
     10 or (at your option) any later version.
     11 
     12 Quake III Arena source code is distributed in the hope that it will be
     13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 GNU General Public License for more details.
     16 
     17 You should have received a copy of the GNU General Public License
     18 along with Foobar; if not, write to the Free Software
     19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     20 ===========================================================================
     21 */
     22 #if !defined(AFX_GROUPDLG_H__92368487_9E05_454E_A66F_23A9A94A753B__INCLUDED_)
     23 #define AFX_GROUPDLG_H__92368487_9E05_454E_A66F_23A9A94A753B__INCLUDED_
     24 
     25 #if _MSC_VER > 1000
     26 #pragma once
     27 #endif // _MSC_VER > 1000
     28 // GroupDlg.h : header file
     29 //
     30 
     31 /////////////////////////////////////////////////////////////////////////////
     32 // CGroupDlg dialog
     33 
     34 class CGroupDlg : public CDialog
     35 {
     36   CImageList m_imgList;
     37 // Construction
     38 public:
     39 	virtual void OnOK();
     40 	virtual void OnCancel();
     41 	void InitGroups();
     42 	CGroupDlg(CWnd* pParent = NULL);   // standard constructor
     43 
     44   HTREEITEM m_hWorld;
     45 
     46 // Dialog Data
     47 	//{{AFX_DATA(CGroupDlg)
     48 	enum { IDD = IDD_DLG_GROUP };
     49 	CTreeCtrl	m_wndTree;
     50 	CButton	m_wndEdit;
     51 	CButton	m_wndDel;
     52 	CButton	m_wndAdd;
     53 	//}}AFX_DATA
     54 
     55 // Overrides
     56 	// ClassWizard generated virtual function overrides
     57 	//{{AFX_VIRTUAL(CGroupDlg)
     58 	public:
     59 	virtual BOOL OnChildNotify(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pLResult);
     60 	protected:
     61 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
     62 	virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
     63 	//}}AFX_VIRTUAL
     64 
     65 // Implementation
     66 protected:
     67 
     68 	// Generated message map functions
     69 	//{{AFX_MSG(CGroupDlg)
     70 	afx_msg void OnSize(UINT nType, int cx, int cy);
     71 	virtual BOOL OnInitDialog();
     72 	afx_msg void OnBtnAdd();
     73 	afx_msg void OnBtnDel();
     74 	afx_msg void OnBtnEdit();
     75 	afx_msg void OnRclickTreeGroup(NMHDR* pNMHDR, LRESULT* pResult);
     76 	afx_msg void OnEndlabeleditTreeGroup(NMHDR* pNMHDR, LRESULT* pResult);
     77 	afx_msg void OnClickTreeGroup(NMHDR* pNMHDR, LRESULT* pResult);
     78 	afx_msg void OnSetdispinfoTreeGroup(NMHDR* pNMHDR, LRESULT* pResult);
     79 	afx_msg void OnBegindragTreeGroup(NMHDR* pNMHDR, LRESULT* pResult);
     80 	//}}AFX_MSG
     81 	DECLARE_MESSAGE_MAP()
     82 };
     83 
     84 //{{AFX_INSERT_LOCATION}}
     85 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
     86 
     87 extern CGroupDlg *g_pGroupDlg;
     88 
     89 
     90 #endif // !defined(AFX_GROUPDLG_H__92368487_9E05_454E_A66F_23A9A94A753B__INCLUDED_)