#if !defined(AFX_DARWBALCONYDLG_H__89D007DA_21D5_449E_81DC_B854A322456F__INCLUDED_) #define AFX_DARWBALCONYDLG_H__89D007DA_21D5_449E_81DC_B854A322456F__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // DarwBalconyDlg.h : header file // #include "resource.h" ///////////////////////////////////////////////////////////////////////////// // CDarwBalconyDlg dialog struct tbButtom { UINT tbID; int BitmapID; int Style; }; class CDarwBalconyDlg : public CModelessDialog { // Construction DECLARE_DYNAMIC(CDarwBalconyDlg) public: CDarwBalconyDlg(CWnd* pParent = NULL); // standard constructor virtual ~CDarwBalconyDlg(); CImageDC m_slideDc; XString m_strFilePath; void OpenSlide(XString strFilePath); void doExtend(XPoint pt); void doSelect(Entity&); void SetToolbarBtState1(int nBalPath); void SetToolbarBtState2(); // Dialog Data //{{AFX_DATA(CDarwBalconyDlg) enum { IDD = IDD_DRAW_BALCONY }; /*static CString m_Lenth; static CString m_Railwidth; static CString m_Railheight; static CString m_Elev; static CString m_Slabthick; static CString m_Girderthick;*/ // [11/12/2007 nsh]////////////////////////// static double m_Lenth; static double m_Railwidth; static double m_Railheight; static double m_Elev; static double m_Slabthick; static double m_Girderthick; /////////////////////////////////////////////// static BOOL m_bhasGirder; static int m_nSide; static int g_nBalPath; //}}AFX_DATA CToolTipCtrl m_wndToolTip; CToolBarCtrl m_toolbar; tbButtom tbButtm[7]; BOOL m_bUseEsc; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDarwBalconyDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CDarwBalconyDlg) virtual BOOL OnInitDialog(); afx_msg void OnSetfocusRailwidth(); afx_msg void OnSetfocusRailheight(); afx_msg void OnSetfocusGirderthick(); afx_msg void OnSetfocusElev(); afx_msg void OnSetfocusLength();// [12/11/2007 nsh] afx_msg void OnCheckGirder(); afx_msg void OnSetfocusSlabthick(); afx_msg void OnPaint(); afx_msg void OnCommandDent(); afx_msg void OnCommandRect(); afx_msg void OnCommandConcave(); afx_msg void OnCommandExtend(); afx_msg void OnCommandArbitrary(); afx_msg void OnCommandSelect(); afx_msg void OnClose(); afx_msg BOOL OnToolTipText( UINT, NMHDR * pNMHDR, LRESULT * pResult ); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DARWBALCONYDLG_H__89D007DA_21D5_449E_81DC_B854A322456F__INCLUDED_)