CFrameWndBase< TBase > Class Template Reference

#include <FrameWndEx.h>

Inheritance diagram for CFrameWndBase< TBase >:

CBmpMenuOwnerWnd< TBase > CBmpMenuOwnerWnd< TBase > CFrameWndEx CFrameWndEx CMDIFrameWndEx CMDIFrameWndEx CFrame CRobotControlMainFrame CFrame CRobotControlMainFrame List of all members.

Public Member Functions

 CFrameWndBase ()
 ~CFrameWndBase ()
void ShowWindow (int nCmdShow, LPCTSTR lpszProfileName)
virtual BOOL LoadFrame (UINT nIDResource, DWORD dwDefaultStyle=WS_OVERLAPPEDWINDOW|FWS_ADDTOTITLE, CWnd *pParentWnd=0, CCreateContext *pContext=0)
 CFrameWndBase ()
 ~CFrameWndBase ()
void ShowWindow (int nCmdShow, LPCTSTR lpszProfileName)
virtual BOOL LoadFrame (UINT nIDResource, DWORD dwDefaultStyle=WS_OVERLAPPEDWINDOW|FWS_ADDTOTITLE, CWnd *pParentWnd=0, CCreateContext *pContext=0)

Public Attributes

CSizableReBar m_wndReBar
CMenuBar m_wndMenuBar

Static Public Attributes

static LPCTSTR m_lpszFrameWndPlacementEntry = _T("FrameWndPlacement")

Protected Member Functions

afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSysCommand (UINT nID, LPARAM lParam)
afx_msg LRESULT OnMenuChar (UINT nChar, UINT nFlags, CMenu *pMenu)
afx_msg BOOL OnNcActivate (BOOL bActive)
afx_msg void OnSettingChange (UINT uFlags, LPCTSTR lpszSection)
afx_msg void OnClose ()
afx_msg void OnInitMenuPopup (CMenu *pPopupMenu, UINT nIndex, BOOL bSysMenu)
afx_msg void OnMenuSelect (UINT nItemID, UINT nFlags, HMENU hSysMenu)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSysCommand (UINT nID, LPARAM lParam)
afx_msg LRESULT OnMenuChar (UINT nChar, UINT nFlags, CMenu *pMenu)
afx_msg BOOL OnNcActivate (BOOL bActive)
afx_msg void OnSettingChange (UINT uFlags, LPCTSTR lpszSection)
afx_msg void OnClose ()
afx_msg void OnInitMenuPopup (CMenu *pPopupMenu, UINT nIndex, BOOL bSysMenu)
afx_msg void OnMenuSelect (UINT nItemID, UINT nFlags, HMENU hSysMenu)

Protected Attributes

CString m_strProfileName
bool m_bInPlace

Detailed Description

template<class TBase>
class CFrameWndBase< TBase >

Base for extended frame classes

Definition at line 40 of file FrameWndEx.h.


Constructor & Destructor Documentation

template<class TBase>
CFrameWndBase< TBase >::CFrameWndBase (  ) 

Definition at line 186 of file FrameWndEx.h.

template<class TBase>
CFrameWndBase< TBase >::~CFrameWndBase (  ) 

Definition at line 191 of file FrameWndEx.h.

template<class TBase>
CFrameWndBase< TBase >::CFrameWndBase (  ) 

template<class TBase>
CFrameWndBase< TBase >::~CFrameWndBase (  ) 


Member Function Documentation

template<class TBase>
virtual BOOL CFrameWndBase< TBase >::LoadFrame ( UINT  nIDResource,
DWORD  dwDefaultStyle = WS_OVERLAPPEDWINDOW|FWS_ADDTOTITLE,
CWnd *  pParentWnd = 0,
CCreateContext *  pContext = 0 
) [virtual]

template<class TBase>
BOOL CFrameWndBase< TBase >::LoadFrame ( UINT  nIDResource,
DWORD  dwDefaultStyle = WS_OVERLAPPEDWINDOW|FWS_ADDTOTITLE,
CWnd *  pParentWnd = 0,
CCreateContext *  pContext = 0 
) [virtual]

Definition at line 226 of file FrameWndEx.h.

References FALSE, CFrameWndBase< TBase >::m_wndMenuBar, CMenuBar::SetMenu(), TRUE, and VERIFY.

Referenced by CApp::InitInstance(), and CRobotControlApp::InitInstance().

template<class TBase>
afx_msg void CFrameWndBase< TBase >::OnClose (  )  [protected]

Reimplemented in CRobotControlMainFrame.

template<class TBase>
void CFrameWndBase< TBase >::OnClose (  )  [protected]

Reimplemented in CRobotControlMainFrame.

Definition at line 313 of file FrameWndEx.h.

References CFrameWndBase< TBase >::m_lpszFrameWndPlacementEntry, and CFrameWndBase< TBase >::m_strProfileName.

Referenced by CRobotControlMainFrame::OnClose().

template<class TBase>
afx_msg int CFrameWndBase< TBase >::OnCreate ( LPCREATESTRUCT  lpCreateStruct  )  [protected]

Reimplemented in CMDIFrameWndEx, CRobotControlMainFrame, CFrame, and CMDIFrameWndEx.

template<class TBase>
int CFrameWndBase< TBase >::OnCreate ( LPCREATESTRUCT  lpCreateStruct  )  [protected]

Reimplemented in CMDIFrameWndEx, CRobotControlMainFrame, CFrame, and CMDIFrameWndEx.

Definition at line 241 of file FrameWndEx.h.

References CSizableReBar::AddBar(), CSizableReBar::Create(), IDW_MENUBAR, CFrameWndBase< TBase >::m_wndMenuBar, and CFrameWndBase< TBase >::m_wndReBar.

template<class TBase>
afx_msg void CFrameWndBase< TBase >::OnInitMenuPopup ( CMenu *  pPopupMenu,
UINT  nIndex,
BOOL  bSysMenu 
) [protected]

Reimplemented from CBmpMenuOwnerWnd< TBase >.

template<class TBase>
void CFrameWndBase< TBase >::OnInitMenuPopup ( CMenu *  pPopupMenu,
UINT  nIndex,
BOOL  bSysMenu 
) [protected]

Reimplemented from CBmpMenuOwnerWnd< TBase >.

Definition at line 334 of file FrameWndEx.h.

References CMenuBar::FrameOnInitMenuPopup(), CFrameWndBase< TBase >::m_wndMenuBar, and CBmpMenuOwnerWnd< TBase >::OnInitMenuPopup().

template<class TBase>
afx_msg LRESULT CFrameWndBase< TBase >::OnMenuChar ( UINT  nChar,
UINT  nFlags,
CMenu *  pMenu 
) [protected]

template<class TBase>
LRESULT CFrameWndBase< TBase >::OnMenuChar ( UINT  nChar,
UINT  nFlags,
CMenu *  pMenu 
) [protected]

Definition at line 282 of file FrameWndEx.h.

References CMenuBar::FrameOnMenuChar(), and CFrameWndBase< TBase >::m_wndMenuBar.

template<class TBase>
afx_msg void CFrameWndBase< TBase >::OnMenuSelect ( UINT  nItemID,
UINT  nFlags,
HMENU  hSysMenu 
) [protected]

template<class TBase>
void CFrameWndBase< TBase >::OnMenuSelect ( UINT  nItemID,
UINT  nFlags,
HMENU  hSysMenu 
) [protected]

Definition at line 342 of file FrameWndEx.h.

References CMenuBar::FrameOnMenuSelect(), and CFrameWndBase< TBase >::m_wndMenuBar.

template<class TBase>
afx_msg BOOL CFrameWndBase< TBase >::OnNcActivate ( BOOL  bActive  )  [protected]

template<class TBase>
BOOL CFrameWndBase< TBase >::OnNcActivate ( BOOL  bActive  )  [protected]

Definition at line 293 of file FrameWndEx.h.

References CMenuBar::FrameOnNcActivate(), and CFrameWndBase< TBase >::m_wndMenuBar.

template<class TBase>
afx_msg void CFrameWndBase< TBase >::OnSettingChange ( UINT  uFlags,
LPCTSTR  lpszSection 
) [protected]

template<class TBase>
void CFrameWndBase< TBase >::OnSettingChange ( UINT  uFlags,
LPCTSTR  lpszSection 
) [protected]

Definition at line 305 of file FrameWndEx.h.

References CWinAppEx::GetInstance(), and CWinAppEx::UpdateSystemParameters().

template<class TBase>
afx_msg void CFrameWndBase< TBase >::OnSysCommand ( UINT  nID,
LPARAM  lParam 
) [protected]

template<class TBase>
void CFrameWndBase< TBase >::OnSysCommand ( UINT  nID,
LPARAM  lParam 
) [protected]

Definition at line 273 of file FrameWndEx.h.

References CMenuBar::FrameOnSysCommand(), and CFrameWndBase< TBase >::m_wndMenuBar.

template<class TBase>
void CFrameWndBase< TBase >::ShowWindow ( int  nCmdShow,
LPCTSTR  lpszProfileName 
)

template<class TBase>
void CFrameWndBase< TBase >::ShowWindow ( int  nCmdShow,
LPCTSTR  lpszProfileName 
)

Definition at line 196 of file FrameWndEx.h.

References CFrameWndBase< TBase >::m_lpszFrameWndPlacementEntry, and CFrameWndBase< TBase >::m_strProfileName.

Referenced by CApp::InitInstance(), and CRobotControlConfigurationManager::loadConfiguration().


Member Data Documentation

template<class TBase>
bool CFrameWndBase< TBase >::m_bInPlace [protected]

Definition at line 68 of file FrameWndEx.h.

Referenced by CMDIFrameWndEx::DelayUpdateFrameMenu(), CFrameWndEx::DelayUpdateFrameMenu(), CMDIClientWndEx::OnMDISetMenu(), and CFrameWndEx::OnUpdateFrameMenu().

template<class TBase>
LPCTSTR CFrameWndBase< TBase >::m_lpszFrameWndPlacementEntry = _T("FrameWndPlacement") [static]

Definition at line 56 of file FrameWndEx.h.

Referenced by CFrameWndBase< TBase >::OnClose(), CRobotControlConfigurationManager::saveConfiguration(), and CFrameWndBase< TBase >::ShowWindow().

template<class TBase>
CString CFrameWndBase< TBase >::m_strProfileName [protected]

Definition at line 67 of file FrameWndEx.h.

Referenced by CFrameWndBase< TBase >::OnClose(), and CFrameWndBase< TBase >::ShowWindow().

template<class TBase>
CMenuBar CFrameWndBase< TBase >::m_wndMenuBar

Definition at line 50 of file FrameWndEx.h.

Referenced by CFrameWndBase< TBase >::LoadFrame(), CFrameWndBase< TBase >::OnCreate(), CFrameWndBase< TBase >::OnInitMenuPopup(), CMDIClientWndEx::OnMDISetMenu(), CFrameWndBase< TBase >::OnMenuChar(), CFrameWndBase< TBase >::OnMenuSelect(), CFrameWndBase< TBase >::OnNcActivate(), CFrameWndBase< TBase >::OnSysCommand(), and CFrameWndEx::OnUpdateFrameMenu().

template<class TBase>
CSizableReBar CFrameWndBase< TBase >::m_wndReBar

Definition at line 49 of file FrameWndEx.h.

Referenced by CRobotControlConfigurationManager::loadConfiguration(), CFrame::OnCreate(), CRobotControlMainFrame::OnCreate(), CFrameWndBase< TBase >::OnCreate(), CFrame::RestoreLayout(), CRobotControlConfigurationManager::saveConfiguration(), and CFrame::WriteLayout().


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