1 #if !defined(AFX_STATEPAGE_H__6FCFCFD9_9FCA_4790_9B43_9BF802EC332C__INCLUDED_)
2 #define AFX_STATEPAGE_H__6FCFCFD9_9FCA_4790_9B43_9BF802EC332C__INCLUDED_
6 #endif // _MSC_VER > 1000
7 // StatePage.h : header file
10 #include "ResizablePage.h"
13 class CLogic_editorDoc
;
15 /////////////////////////////////////////////////////////////////////////////
18 class CStatePage
: public CPropertyPage
20 DECLARE_DYNCREATE(CStatePage
)
30 void addState( CLogic_editorDoc
*pDoc
, CState
* state
);
33 CState
* m_pSelectedState
;
34 CEvent
* m_pSelectedEvent
;
37 //{{AFX_DATA(CStatePage)
38 enum { IDD
= IDD_PAGE_STATES
};
40 CString m_sConditionName
;
41 CString m_sNextStateName
;
45 CString m_sDestination
;
50 // ClassWizard generate virtual function overrides
51 //{{AFX_VIRTUAL(CStatePage)
53 virtual BOOL
OnSetActive();
55 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
60 // Generated message map functions
61 //{{AFX_MSG(CStatePage)
62 virtual BOOL
OnInitDialog();
63 afx_msg
void OnRadioStateChange();
64 afx_msg
void OnRadioStateEventMsg();
65 afx_msg
void OnButtonAddState();
66 afx_msg
void OnButtonAddEvent();
67 afx_msg
void OnButtonStateRemove();
68 afx_msg
void OnButtonStateApply();
69 afx_msg
void OnButtonEventApply();
70 afx_msg
void OnButtonEventRemove();
76 //{{AFX_INSERT_LOCATION}}
77 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
79 #endif // !defined(AFX_STATEPAGE_H__6FCFCFD9_9FCA_4790_9B43_9BF802EC332C__INCLUDED_)