Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

# 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:

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 89 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 48 of file KeosWin32ErrorDialog.cpp. References BOOL(), dlg, IDC_ERRMSG, and m_strErrorMsg. Referenced by Display().

## Member Data Documentation

HINSTANCE Keos::CWin32ErrorDialog::m_HInstance`[protected]`

| HInstance of application, for dialog. Definition at line 58 of file KeosWin32ErrorDialog.h. Referenced by CWin32ErrorDialog(), and Display().

String Keos::CWin32ErrorDialog::m_strErrorMsg`[protected]`

| Error mesage. Definition at line 51 of file KeosWin32ErrorDialog.h. Referenced by Display(), and DlgProc().

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

- PlatformManagers/Win32/KeosWin32ErrorDialog.h
- PlatformManagers/Win32/KeosWin32ErrorDialog.cpp