CObjectFrame Class Reference

#include <srObjectFrame.h>

Inheritance diagram for CObjectFrame:

CChild CMDIChildWnd List of all members.

Public Member Functions

void SetObject (CObjectView *pObject)
void RestoreLayout ()
void WriteLayout ()
virtual BOOL Create (LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle=WS_CHILD|WS_VISIBLE|WS_OVERLAPPEDWINDOW, const RECT &rect=rectDefault, CMDIFrameWnd *pParentWnd=NULL, CCreateContext *pContext=NULL)

Protected Member Functions

 CObjectFrame ()
virtual ~CObjectFrame ()
afx_msg void OnViewTurn ()
afx_msg void OnUpdateViewTurn (CCmdUI *pCmdUI)
afx_msg void OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
afx_msg void OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)

Private Member Functions

void OnScroll (UINT nBar, UINT nSBCode, UINT nPos)

Private Attributes

CObjectViewm_pObject
BOOL m_bTurn

Detailed Description

Definition at line 7 of file srObjectFrame.h.


Constructor & Destructor Documentation

CObjectFrame::CObjectFrame (  )  [protected]

Definition at line 21 of file srObjectFrame.cpp.

CObjectFrame::~CObjectFrame (  )  [protected, virtual]

Definition at line 25 of file srObjectFrame.cpp.


Member Function Documentation

BOOL CObjectFrame::Create ( LPCTSTR  lpszClassName,
LPCTSTR  lpszWindowName,
DWORD  dwStyle = WS_CHILD|WS_VISIBLE|WS_OVERLAPPEDWINDOW,
const RECT &  rect = rectDefault,
CMDIFrameWnd pParentWnd = NULL,
CCreateContext *  pContext = NULL 
) [virtual]

Definition at line 85 of file srObjectFrame.cpp.

References FALSE, and TRUE.

void CObjectFrame::OnHScroll ( UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar 
) [protected]

Definition at line 113 of file srObjectFrame.cpp.

References OnScroll().

void CObjectFrame::OnScroll ( UINT  nBar,
UINT  nSBCode,
UINT  nPos 
) [private]

Definition at line 123 of file srObjectFrame.cpp.

References m_bTurn, and m_pObject.

Referenced by OnHScroll(), and OnVScroll().

void CObjectFrame::OnUpdateViewTurn ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 107 of file srObjectFrame.cpp.

References CObjectView::GetDocument(), CDoc::GetSimulation(), m_bTurn, and m_pObject.

void CObjectFrame::OnViewTurn (  )  [protected]

Definition at line 101 of file srObjectFrame.cpp.

References CObjectView::GetDocument(), CDoc::GetSimulation(), m_bTurn, and m_pObject.

void CObjectFrame::OnVScroll ( UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar 
) [protected]

Definition at line 118 of file srObjectFrame.cpp.

References OnScroll().

void CObjectFrame::RestoreLayout (  ) 

Definition at line 51 of file srObjectFrame.cpp.

References CObjectView::GetDocument(), m_bTurn, m_pObject, CDoc::NewSection(), and CDoc::ReadInt().

void CObjectFrame::SetObject ( CObjectView pObject  )  [inline]

Definition at line 14 of file srObjectFrame.h.

References m_pObject.

Referenced by CObjectView::OnInitialUpdate().

void CObjectFrame::WriteLayout (  ) 

Definition at line 29 of file srObjectFrame.cpp.

References CObjectView::GetDocument(), m_bTurn, m_pObject, CDoc::NewSection(), and CDoc::WriteInt().


Member Data Documentation

BOOL CObjectFrame::m_bTurn [private]

Definition at line 11 of file srObjectFrame.h.

Referenced by OnScroll(), OnUpdateViewTurn(), OnViewTurn(), RestoreLayout(), and WriteLayout().

CObjectView* CObjectFrame::m_pObject [private]

Definition at line 10 of file srObjectFrame.h.

Referenced by OnScroll(), OnUpdateViewTurn(), OnViewTurn(), RestoreLayout(), SetObject(), and WriteLayout().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:22:43 2006 for DT2005.panorama by  doxygen 1.4.7