Keos::CWin32ErrorDialog Class Reference

Windows-specific class for displaying the error dialog if Keos fails badly. More...

#include <KeosWin32ErrorDialog.h>

Inheritance diagram for Keos::CWin32ErrorDialog:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CWin32ErrorDialog (HINSTANCE hInst)
 Constructor.
virtual ~CWin32ErrorDialog ()
 Destructor.
void Display (const String &strErrorMessage)
 See IConfigDialog.

Static Protected Member Functions

static BOOL CALLBACK DlgProc (HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam)
 Callback to process window events.

Protected Attributes

String m_strErrorMsg
 Error mesage.
HINSTANCE m_HInstance
 HInstance of application, for dialog.

Detailed Description

Windows-specific class for displaying the error dialog if Keos fails badly.

Definition at line 32 of file KeosWin32ErrorDialog.h.


Constructor & Destructor Documentation

Keos::CWin32ErrorDialog::CWin32ErrorDialog ( HINSTANCE  hInst  ) 

Constructor.

Parameters:
hInst HInstance of application.

Definition at line 36 of file KeosWin32ErrorDialog.cpp.

References m_HInstance.

Keos::CWin32ErrorDialog::~CWin32ErrorDialog (  )  [virtual]

Destructor.

Definition at line 42 of file KeosWin32ErrorDialog.cpp.


Member Function Documentation

void Keos::CWin32ErrorDialog::Display ( const String strErrorMessage  )  [virtual]

See IConfigDialog.

Implements Keos::IErrorDialog.

Definition at line 87 of file KeosWin32ErrorDialog.cpp.

References dlg, DlgProc(), IDD_DIALOG_ERROR, m_HInstance, and m_strErrorMsg.

BOOL Keos::CWin32ErrorDialog::DlgProc ( HWND  hDlg,
UINT  iMsg,
WPARAM  wParam,
LPARAM  lParam 
) [static, protected]

Callback to process window events.

Definition at line 46 of file KeosWin32ErrorDialog.cpp.

References dlg, and IDC_ERRMSG.

Referenced by Display().


Member Data Documentation

String Keos::CWin32ErrorDialog::m_strErrorMsg [protected]

Error mesage.

Definition at line 51 of file KeosWin32ErrorDialog.h.

Referenced by Display().

HINSTANCE Keos::CWin32ErrorDialog::m_HInstance [protected]

HInstance of application, for dialog.

Definition at line 58 of file KeosWin32ErrorDialog.h.

Referenced by CWin32ErrorDialog(), and Display().


The documentation for this class was generated from the following files:
Generated on Fri Mar 9 14:29:30 2007 for Keos by  doxygen 1.5.1-p1