|
/************************************************************************************************
*Project done by Joseph R. Thomas
*on October 7th, 2003
************************************************************************************************/
// jrtObserverPatternDemoDlg.h : header file
//
#if !defined(AFX_JRTOBSERVERPATTERNDEMODLG_H__B3A58DB0_17C3_49CC_8370_ECF58FF1A923__INCLUDED_)
#define AFX_JRTOBSERVERPATTERNDEMODLG_H__B3A58DB0_17C3_49CC_8370_ECF58FF1A923__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CJrtObserverPatternDemoDlg dialog
class CJrtEventSource;
class CButtonObserver;
class CStaticObserver;
class CEditObserver;
class CCheckObserver;
#include "resource.h"
class CJrtObserverPatternDemoDlg : public CDialog
{
// Construction
public:
CJrtObserverPatternDemoDlg(CWnd* pParent = NULL); // standard constructor
//attributes
private:
CJrtEventSource *m_pEvtSrc;
CButtonObserver *m_pObserverButton;
CStaticObserver *m_pObserverStatic;
CCheckObserver *m_pObserverCheck;
CEditObserver *m_pObserverEdit;
public:
// Dialog Data
//{{AFX_DATA(CJrtObserverPatternDemoDlg)
enum { IDD = IDD_JRTOBSERVERPATTERNDEMO_DIALOG };
CButton m_ctrlChkChk;
CButton m_ctrlChkEdit;
CButton m_ctrlChkStc;
CButton m_ctrlChkBut;
CStatic m_ctrlStcOb;
CEdit m_ctrlEditOb;
CButton m_ctrlChkOb;
CButton m_ctrlButOb;
BOOL m_chkOb;
CString m_strString;
BOOL m_chkBut;
BOOL m_chkStc;
BOOL m_chkEdit;
BOOL m_chkChk;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CJrtObserverPatternDemoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CJrtObserverPatternDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButTrigger();
afx_msg void OnCheckButton();
afx_msg void OnDestroy();
afx_msg void OnCheckStatic();
afx_msg void OnCheckEdit();
afx_msg void OnCheckCheck();
afx_msg void OnSetfocusEditString();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_JRTOBSERVERPATTERNDEMODLG_H__B3A58DB0_17C3_49CC_8370_ECF58FF1A923__INCLUDED_)
|
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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.