73 lines
1.8 KiB
C++
73 lines
1.8 KiB
C++
#if !defined(AFX_POOLDLG_H__7F7A56E3_381F_4011_B873_EEC86FB9C20F__INCLUDED_)
|
|
#define AFX_POOLDLG_H__7F7A56E3_381F_4011_B873_EEC86FB9C20F__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// PoolDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPoolDlg dialog
|
|
#include "Resource.h"
|
|
#include "SymbDialog.h"
|
|
|
|
class CPoolDlg : public CModelessDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CPoolDlg(AcDbEntity *pInsert, CWnd* pParent = NULL); // standard constructor
|
|
DECLARE_DYNAMIC(CPoolDlg)
|
|
~CPoolDlg()
|
|
{
|
|
if(::IsWindow(m_hWnd))
|
|
DestroyWindow();
|
|
}
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CPoolDlg)
|
|
enum { IDD = IDD_POOL };
|
|
int m_iType;
|
|
//}}AFX_DATA
|
|
static double m_nX;
|
|
static double m_nY;
|
|
|
|
void SetFromBlockInfo();
|
|
void UpdateInsert();
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CPoolDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
virtual void PostNcDestroy();
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
void OpenSlide();
|
|
AcDbEntity *m_pInsert;
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CPoolDlg)
|
|
afx_msg void OnClose();
|
|
afx_msg void OnRadioType1();
|
|
afx_msg void OnRadioType2();
|
|
afx_msg void OnRadioType3();
|
|
afx_msg void OnRadioType4();
|
|
afx_msg void OnRadioType5();
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnPaint();
|
|
afx_msg void OnKillfocusEditLen();
|
|
afx_msg void OnKillfocusEditWidth();
|
|
afx_msg void OnButtonCalc();
|
|
afx_msg void OnRadioType6();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_POOLDLG_H__7F7A56E3_381F_4011_B873_EEC86FB9C20F__INCLUDED_)
|