CWindow Class Reference

Base class for managing the main window. More...

#include <CWindow.h>

Inheritance diagram for CWindow:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 CWindow (HINSTANCE hInstance, const char *pWindowTitle, int IconResourceID=-1)
virtual ~CWindow (void)
void SetClientSize (int ClientWidth, int ClientHeight)
void ShowWindow (void)
void MessagePump (void)
void WinProc (unsigned int msg, WPARAM wParam, LPARAM lParam)

Protected Member Functions

virtual void OnCreate (HWND hwnd, WPARAM wParam, LPARAM lParam)
virtual void OnInitDialog (WPARAM wParam, LPARAM lParam)
virtual void OnActivateApp (WPARAM wParam, LPARAM lParam)
virtual void OnSize (WPARAM wParam, LPARAM lParam)
virtual void OnMove (WPARAM wParam, LPARAM lParam)
virtual void OnPaint (WPARAM wParam, LPARAM lParam)
virtual void OnKeyDown (WPARAM wParam, LPARAM lParam)
virtual void OnKeyUp (WPARAM wParam, LPARAM lParam)
virtual void OnTimer (WPARAM wParam, LPARAM lParam)
virtual void OnCommand (WPARAM wParam, LPARAM lParam)
virtual bool OnSysCommand (WPARAM wParam, LPARAM lParam)
virtual void OnClose (WPARAM wParam, LPARAM lParam)
virtual void OnDestroy (WPARAM wParam, LPARAM lParam)
virtual void OnJoystickAxis (WPARAM wParam, LPARAM lParam)
virtual void OnJoystickButton (WPARAM wParam, LPARAM lParam)
virtual void OnWindowActive (void)

Protected Attributes

HWND m_hWnd
bool m_Active


Detailed Description

Base class for managing the main window.

Constructor & Destructor Documentation

CWindow::CWindow ( HINSTANCE  hInstance,
const char *  pWindowTitle,
int  IconResourceID = -1 
)

CWindow::~CWindow ( void   )  [virtual]


Member Function Documentation

void CWindow::OnCreate ( HWND  hwnd,
WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Here is the caller graph for this function:

void CWindow::OnInitDialog ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Here is the caller graph for this function:

void CWindow::OnActivateApp ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Reimplemented in CGame.

Here is the caller graph for this function:

void CWindow::OnSize ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Reimplemented in CGame.

Here is the caller graph for this function:

void CWindow::OnMove ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Reimplemented in CGame.

Here is the caller graph for this function:

void CWindow::OnPaint ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Reimplemented in CGame.

Here is the caller graph for this function:

void CWindow::OnKeyDown ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Reimplemented in CGame.

Here is the caller graph for this function:

void CWindow::OnKeyUp ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Reimplemented in CGame.

Here is the caller graph for this function:

void CWindow::OnTimer ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

void CWindow::OnCommand ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Here is the caller graph for this function:

bool CWindow::OnSysCommand ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Reimplemented in CGame.

Here is the caller graph for this function:

void CWindow::OnClose ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Here is the caller graph for this function:

void CWindow::OnDestroy ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Here is the caller graph for this function:

void CWindow::OnJoystickAxis ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Reimplemented in CGame.

Here is the caller graph for this function:

void CWindow::OnJoystickButton ( WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

Reimplemented in CGame.

Here is the caller graph for this function:

void CWindow::OnWindowActive ( void   )  [protected, virtual]

Reimplemented in CGame.

Here is the caller graph for this function:

void CWindow::SetClientSize ( int  ClientWidth,
int  ClientHeight 
)

void CWindow::ShowWindow ( void   ) 

Here is the caller graph for this function:

void CWindow::MessagePump ( void   ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void CWindow::WinProc ( unsigned int  msg,
WPARAM  wParam,
LPARAM  lParam 
)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

HWND CWindow::m_hWnd [protected]

bool CWindow::m_Active [protected]


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

Generated on Sat Oct 18 12:26:48 2008 for Bombermaaan by  doxygen 1.5.5
Visit the Bombermaaan project page
SourceForge.net Logo