Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Ogre::Win32ErrorDialog Class Reference

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

#include <OgreWin32ErrorDialog.h>

Inheritance diagram for Ogre::Win32ErrorDialog:

Ogre::ErrorDialog List of all members.

Public Methods

 Win32ErrorDialog (HINSTANCE hInst)
void display (String errorMessage, String logName="")
 Displays the error dialog. More...


Static Protected Methods

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


Protected Attributes

String mErrorMsg
HINSTANCE mHInstance

Detailed Description

Windows-specific class for displaying the error dialog if Ogre fails badly!


Constructor & Destructor Documentation

Ogre::Win32ErrorDialog::Win32ErrorDialog HINSTANCE    hInst
 


Member Function Documentation

void Ogre::Win32ErrorDialog::display String    errorMessage,
String    logName = ""
[virtual]
 

Displays the error dialog.

Parameters:
errorMessage  The error message which has caused the failure.
logName  Optional name of the log to display in the detail pane.

Implements Ogre::ErrorDialog.

BOOL Ogre::Win32ErrorDialog::DlgProc HWND    hDlg,
UINT    iMsg,
WPARAM    wParam,
LPARAM    lParam
[static, protected]
 

Callback to process window events.


Member Data Documentation

String Ogre::Win32ErrorDialog::mErrorMsg [protected]
 

HINSTANCE Ogre::Win32ErrorDialog::mHInstance [protected]
 

Copyright © 2002 by The OGRE Team