#include <ExFrame.h>


Public Member Functions | |
| virtual void | onLButtonDBLClick () |
| virtual BOOL | Create (LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle=WS_CHILD|WS_VISIBLE|WS_OVERLAPPEDWINDOW|WS_CLIPCHILDREN, const RECT &rect=rectDefault, CMDIFrameWnd *pParentWnd=NULL, CCreateContext *pContext=NULL) |
| virtual | ~CExFrame () |
| afx_msg LRESULT | OnEnterSizeMove (WPARAM wParam, LPARAM lParam) |
| afx_msg LRESULT | OnExitSizeMove (WPARAM wParam, LPARAM lParam) |
| afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
| afx_msg void | OnSizing (UINT fwSide, LPRECT pRect) |
Public Attributes | |
| CString | Title |
| CString | preTitle |
| int | colorMode |
| CExDocument * | pDoc |
| CExView * | pView |
| CAppCallBack * | pApp |
| CMultiDocTemplate * | pTempl |
| void * | anyData |
| CExToolBar * | toolBar |
| CScrollBar * | hScrollBar |
| CScrollBar * | vScrollBar |
| bool | doneErrorMessage |
| bool | cancelOperation |
| bool | reSizeMoving |
Protected Member Functions | |
| CExFrame () | |
Definition at line 30 of file ExFrame.h.
| CExFrame | ( | ) | [protected] |
Definition at line 25 of file ExFrame.cpp.
00026 { 00027 //DEBUG_INFO("CONSTRUCTOR: CExFrame\n"); 00028 00029 pDoc = NULL; 00030 pView = NULL; 00031 pApp = NULL; 00032 pTempl = NULL; 00033 anyData = NULL; 00034 00035 toolBar = NULL; 00036 vScrollBar = NULL; 00037 hScrollBar = NULL; 00038 00039 Title = _T(""); 00040 preTitle = _T(""); 00041 colorMode = GRAPH_COLOR_MONO; 00042 00043 cancelOperation = false; 00044 doneErrorMessage = false; 00045 00046 reSizeMoving = false; 00047 }
| ~CExFrame | ( | ) | [virtual] |
Definition at line 51 of file ExFrame.cpp.
References CAppCallBack::FrameDestructor(), CExFrame::pApp, CExFrame::pDoc, CExDocument::pFrame, CExView::pFrame, and CExFrame::pView.
00052 { 00053 DEBUG_INFO("DESTRUCTOR: CExFrame\n"); 00054 00055 if (pApp!=NULL) { 00056 DEBUG_INFO("Call Application FrameDestructor()\n"); 00057 pApp->FrameDestructor(this); // 上位アプリケーションに通知 00058 } 00059 00060 if (!isNull(pView)) pView->pFrame = NULL; 00061 if (!isNull(pDoc)) pDoc->pFrame = NULL; 00062 pView = NULL; 00063 pDoc = NULL; 00064 }

| BOOL Create | ( | LPCTSTR | lpszClassName, | |
| LPCTSTR | lpszWindowName, | |||
| DWORD | dwStyle = WS_CHILD|WS_VISIBLE|WS_OVERLAPPEDWINDOW|WS_CLIPCHILDREN, |
|||
| const RECT & | rect = rectDefault, |
|||
| CMDIFrameWnd * | pParentWnd = NULL, |
|||
| CCreateContext * | pContext = NULL | |||
| ) | [virtual] |
Definition at line 91 of file ExFrame.cpp.
00092 { 00093 dwStyle = dwStyle | WS_CLIPCHILDREN; 00094 dwStyle = dwStyle & (~WS_MAXIMIZEBOX); // 最大化ボタン禁止 00095 return CMDIChildWnd::Create(lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, pContext); 00096 }
| LRESULT OnEnterSizeMove | ( | WPARAM | wParam, | |
| LPARAM | lParam | |||
| ) |
Definition at line 117 of file ExFrame.cpp.
References CExFrame::reSizeMoving.
00118 { 00119 reSizeMoving = true; 00120 return 0; 00121 }
| BOOL OnEraseBkgnd | ( | CDC * | pDC | ) |
Definition at line 135 of file ExFrame.cpp.
00136 { 00137 // TODO: ここにメッセージ ハンドラ コードを追加するか、既定の処理を呼び出します. 00138 return CMDIChildWnd::OnEraseBkgnd(pDC); 00139 }
| LRESULT OnExitSizeMove | ( | WPARAM | wParam, | |
| LPARAM | lParam | |||
| ) |
Definition at line 124 of file ExFrame.cpp.
References CExFrame::reSizeMoving.
00125 { 00126 reSizeMoving = false; 00127 return 0; 00128 }
| virtual void onLButtonDBLClick | ( | ) | [inline, virtual] |
Reimplemented in CvThumbNailFrame.
Definition at line 62 of file ExFrame.h.
Referenced by CDxVScrollView::OnLButtonDblClk().

| void OnSizing | ( | UINT | fwSide, | |
| LPRECT | pRect | |||
| ) |
Definition at line 143 of file ExFrame.cpp.
References CExView::doReSize, CExView::GetClientSize(), CExView::GetWindowReSize(), CExView::GetWindowSize(), and CExFrame::pView.
00144 { 00145 POINT pt; 00146 pt.x = pRect->right - pRect->left + 1; 00147 pt.y = pRect->bottom - pRect->top + 1; 00148 00149 pt = pView->GetClientSize(pt); 00150 pt = pView->GetWindowReSize(pt); 00151 pt = pView->GetWindowSize(pt); 00152 00153 pRect->right = pRect->left + pt.x - 1; 00154 pRect->bottom = pRect->top + pt.y - 1; 00155 CMDIChildWnd::OnSizing(fwSide, pRect); 00156 00157 pView->doReSize = true; 00158 }

| bool cancelOperation |
Definition at line 55 of file ExFrame.h.
Referenced by jbxwl::ExecDocFrmView(), CRwGRDoc::MakeViewData(), CDxSRenderView::PrepareVB(), and CRwGRDoc::ReadDataFile().
| int colorMode |
Definition at line 42 of file ExFrame.h.
Referenced by jbxwl::ExecTemplate().
| bool doneErrorMessage |
Definition at line 54 of file ExFrame.h.
Referenced by jbxwl::ExecDocFrmView(), CRwGRDoc::MakeViewData(), CDxVScrollView::OnInitialUpdate(), CDxSRenderView::OnInitialUpdate(), CDxMGRView::OnInitialUpdate(), CDxDirectView::OnInitialUpdate(), CDx2DView::OnInitialUpdate(), CDxSRenderView::PrepareVB(), and CRwGRDoc::ReadDataFile().
| CScrollBar* hScrollBar |
Reimplemented in CExSMPLDisp.
Definition at line 46 of file ExFrame.h.
Referenced by jbxwl::SetExLink(), and CExFrame::~CExFrame().
Definition at line 44 of file ExFrame.h.
Referenced by jbxwl::ExecDocFrmView(), jbxwl::ExecTemplate(), jbxwl::InitialDocView(), jbxwl::SetExLink(), CExDocument::~CExDocument(), and CExFrame::~CExFrame().
| CMultiDocTemplate* pTempl |
Definition at line 47 of file ExFrame.h.
Referenced by jbxwl::CreateDocFrmView().
Definition at line 45 of file ExFrame.h.
Referenced by jbxwl::ExecDocFrmView(), jbxwl::ExecTemplate(), jbxwl::InitialDocView(), CExFrame::OnSizing(), jbxwl::SetExLink(), CExFrame::~CExFrame(), and CExView::~CExView().
| bool reSizeMoving |
Definition at line 57 of file ExFrame.h.
Referenced by CExFrame::OnEnterSizeMove(), and CExFrame::OnExitSizeMove().
| CString Title |
Definition at line 40 of file ExFrame.h.
Referenced by jbxwl::ExecDocFrmView(), and CExView::SetTitle().
| CScrollBar* vScrollBar |
1.6.1