64 lines
1.8 KiB
C++
64 lines
1.8 KiB
C++
#if !defined(AFX_DLGSELECT_HPP__361ABEF2_1B06_11D1_B214_0060973673C5__INCLUDED_)
|
|
#define AFX_DLGSELECT_HPP__361ABEF2_1B06_11D1_B214_0060973673C5__INCLUDED_
|
|
|
|
#if _MSC_VER >= 1000
|
|
#pragma once
|
|
#endif // _MSC_VER >= 1000
|
|
// DlgSelect.hpp : header file
|
|
//
|
|
#include "Tact_Res.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDlgSelection dialog
|
|
|
|
class CDlgSelection : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CDlgSelection(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CDlgSelection)
|
|
enum { IDD = IDD_DLG_SELECTION };
|
|
// NOTE: the ClassWizard will add data members here
|
|
//}}AFX_DATA
|
|
private:
|
|
CPA_Family *m_p_oFamily;
|
|
public:
|
|
CPA_List<CPA_BaseObject> m_oListOfSelectedObjects;
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CDlgSelection)
|
|
public:
|
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
public:
|
|
void mfn_vSetFamily(CPA_Family *_p_oFamily);
|
|
|
|
protected:
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CDlgSelection)
|
|
afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
|
|
afx_msg void OnDestroy();
|
|
virtual BOOL OnInitDialog();
|
|
virtual void OnCancel();
|
|
virtual void OnOK();
|
|
afx_msg void OnDblclkLbox();
|
|
//}}AFX_MSG
|
|
void OnDrawItemListBox(LPDRAWITEMSTRUCT lpDrawItemStruct);
|
|
void mfn_vFillListWithSelectedObjects(void);
|
|
void mfn_vFillListBox(void);
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_DLGSELECT_HPP__361ABEF2_1B06_11D1_B214_0060973673C5__INCLUDED_)
|