|
#pragma once
// AddEventDlg.h : header file
#include "resource.h"
#include "StateTreeCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CAddEventDlg dialog
class CAddEventDlg : public CDialog
{
// Construction
public:
CStateTreeCtrl* m_pStateTree;
BOOL m_bIsInternalTransition;
BOOL m_bIsEditEvent;
CString m_sOrigEventID;
CString m_sOrigTransStateName;
CString m_sOrigActionName;
CAddEventDlg(CWnd* pParent = NULL);
void UpdateOKBtnStatus();
// CAddEventDlg(IApplication * pApp, CWnd* pParent = NULL); // standard constructor
// IApplication *m_pApplication;
// Dialog Data
//{{AFX_DATA(CAddEventDlg)
enum { IDD = IDD_ADDEVENTBOX };
CComboBox m_stateListBox;
CString m_eventHdlName;
CString m_transitionStateName;
CString m_eventID;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAddEventDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HTREEITEM IsUniqueEventID(LPCTSTR sEventID, HTREEITEM hParent );
void AddStateEventHdler();
// Generated message map functions
//{{AFX_MSG(CAddEventDlg)
virtual void OnOK();
afx_msg void OnInternalTransationButton();
afx_msg void OnTransactionStateButton();
afx_msg void OnEventIDEditTextChange();
virtual BOOL OnInitDialog();
afx_msg void OnDestroy();
afx_msg void OnActionCheck();
afx_msg void OnEditchangeEventIdBox();
afx_msg void OnSelchangeEventIdBox();
afx_msg void OnSelchangeTransitionStateNameBox();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
public:
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.