GME
13
|
#include <TestWindow.h>
Public Member Functions | |
CTestWindow (const CString &titleStr, const CRect &pos, CScrollZoomView *parent) | |
virtual | ~CTestWindow () |
CString | GetTitle (void) const |
void | CreateWindowSpecial (const CString &wndClassStr) |
void | DestroyWindowSpecial (void) |
void | MoveWindowSpecial (int deltax, int deltay) |
bool | IsIntersectRect (const CRect &rect) |
Protected Member Functions | |
afx_msg void | OnPaint () |
afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
Protected Attributes | |
CFont | txtMetricFont |
COLORREF | backgroundColor |
COLORREF | canvasBgndColor |
CScrollZoomView * | parentWindowPtr |
CString | title |
CRect | position |
bool | created |
Definition at line 16 of file TestWindow.h.
CTestWindow::CTestWindow | ( | const CString & | titleStr, |
const CRect & | pos, | ||
CScrollZoomView * | parent | ||
) |
Definition at line 22 of file TestWindow.cpp.
CTestWindow::~CTestWindow | ( | ) | [virtual] |
Definition at line 35 of file TestWindow.cpp.
void CTestWindow::CreateWindowSpecial | ( | const CString & | wndClassStr | ) |
Definition at line 41 of file TestWindow.cpp.
void CTestWindow::DestroyWindowSpecial | ( | void | ) |
Definition at line 72 of file TestWindow.cpp.
CString CTestWindow::GetTitle | ( | void | ) | const [inline] |
Definition at line 36 of file TestWindow.h.
bool CTestWindow::IsIntersectRect | ( | const CRect & | rect | ) |
Definition at line 99 of file TestWindow.cpp.
void CTestWindow::MoveWindowSpecial | ( | int | deltax, |
int | deltay | ||
) |
Definition at line 79 of file TestWindow.cpp.
BOOL CTestWindow::OnEraseBkgnd | ( | CDC * | pDC | ) | [protected] |
Definition at line 140 of file TestWindow.cpp.
void CTestWindow::OnLButtonDown | ( | UINT | nFlags, |
CPoint | point | ||
) | [protected] |
Definition at line 152 of file TestWindow.cpp.
void CTestWindow::OnPaint | ( | ) | [protected] |
Definition at line 119 of file TestWindow.cpp.
COLORREF CTestWindow::backgroundColor [protected] |
Definition at line 26 of file TestWindow.h.
COLORREF CTestWindow::canvasBgndColor [protected] |
Definition at line 27 of file TestWindow.h.
bool CTestWindow::created [protected] |
Definition at line 31 of file TestWindow.h.
CScrollZoomView* CTestWindow::parentWindowPtr [protected] |
Definition at line 28 of file TestWindow.h.
CRect CTestWindow::position [protected] |
Definition at line 30 of file TestWindow.h.
CString CTestWindow::title [protected] |
Definition at line 29 of file TestWindow.h.
CFont CTestWindow::txtMetricFont [protected] |
Definition at line 25 of file TestWindow.h.