#include <FrameWndEx.h>
Inheritance diagram for CFrameWndBase< TBase >:
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 |
Definition at line 40 of file FrameWndEx.h.
CFrameWndBase< TBase >::CFrameWndBase | ( | ) |
Definition at line 186 of file FrameWndEx.h.
CFrameWndBase< TBase >::~CFrameWndBase | ( | ) |
Definition at line 191 of file FrameWndEx.h.
CFrameWndBase< TBase >::CFrameWndBase | ( | ) |
CFrameWndBase< TBase >::~CFrameWndBase | ( | ) |
virtual BOOL CFrameWndBase< TBase >::LoadFrame | ( | UINT | nIDResource, | |
DWORD | dwDefaultStyle = WS_OVERLAPPEDWINDOW|FWS_ADDTOTITLE , |
|||
CWnd * | pParentWnd = 0 , |
|||
CCreateContext * | pContext = 0 | |||
) | [virtual] |
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().
afx_msg void CFrameWndBase< TBase >::OnClose | ( | ) | [protected] |
Reimplemented in CRobotControlMainFrame.
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().
afx_msg int CFrameWndBase< TBase >::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Reimplemented in CMDIFrameWndEx, CRobotControlMainFrame, CFrame, and CMDIFrameWndEx.
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.
afx_msg void CFrameWndBase< TBase >::OnInitMenuPopup | ( | CMenu * | pPopupMenu, | |
UINT | nIndex, | |||
BOOL | bSysMenu | |||
) | [protected] |
Reimplemented from CBmpMenuOwnerWnd< 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().
afx_msg LRESULT CFrameWndBase< TBase >::OnMenuChar | ( | UINT | nChar, | |
UINT | nFlags, | |||
CMenu * | pMenu | |||
) | [protected] |
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.
afx_msg void CFrameWndBase< TBase >::OnMenuSelect | ( | UINT | nItemID, | |
UINT | nFlags, | |||
HMENU | hSysMenu | |||
) | [protected] |
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.
afx_msg BOOL CFrameWndBase< TBase >::OnNcActivate | ( | BOOL | bActive | ) | [protected] |
BOOL CFrameWndBase< TBase >::OnNcActivate | ( | BOOL | bActive | ) | [protected] |
Definition at line 293 of file FrameWndEx.h.
References CMenuBar::FrameOnNcActivate(), and CFrameWndBase< TBase >::m_wndMenuBar.
afx_msg void CFrameWndBase< TBase >::OnSettingChange | ( | UINT | uFlags, | |
LPCTSTR | lpszSection | |||
) | [protected] |
void CFrameWndBase< TBase >::OnSettingChange | ( | UINT | uFlags, | |
LPCTSTR | lpszSection | |||
) | [protected] |
Definition at line 305 of file FrameWndEx.h.
References CWinAppEx::GetInstance(), and CWinAppEx::UpdateSystemParameters().
afx_msg void CFrameWndBase< TBase >::OnSysCommand | ( | UINT | nID, | |
LPARAM | lParam | |||
) | [protected] |
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.
void CFrameWndBase< TBase >::ShowWindow | ( | int | nCmdShow, | |
LPCTSTR | lpszProfileName | |||
) |
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().
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().
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().
CString CFrameWndBase< TBase >::m_strProfileName [protected] |
Definition at line 67 of file FrameWndEx.h.
Referenced by CFrameWndBase< TBase >::OnClose(), and CFrameWndBase< TBase >::ShowWindow().
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().
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().