GME  13
Public Member Functions | Protected Member Functions | Protected Attributes
CTestWindow Class Reference

#include <TestWindow.h>

Collaboration diagram for CTestWindow:
Collaboration graph
[legend]

List of all members.

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
CScrollZoomViewparentWindowPtr
CString title
CRect position
bool created

Detailed Description

Definition at line 16 of file TestWindow.h.


Constructor & Destructor Documentation

CTestWindow::CTestWindow ( const CString &  titleStr,
const CRect &  pos,
CScrollZoomView parent 
)

Definition at line 22 of file TestWindow.cpp.

Definition at line 35 of file TestWindow.cpp.


Member Function Documentation

void CTestWindow::CreateWindowSpecial ( const CString &  wndClassStr)

Definition at line 41 of file TestWindow.cpp.

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.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following files: