<html> <head> <title>Ogre::Win32ErrorDialog class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.2.16 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>Ogre::Win32ErrorDialog Class Reference</h1>Windows-specific class for displaying the error dialog if <a class="el" href="namespaceOgre.html">Ogre</a> fails badly! <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreWin32ErrorDialog_8h-source.html">OgreWin32ErrorDialog.h</a>></code> <p> Inheritance diagram for Ogre::Win32ErrorDialog:<p><center><img src="classOgre_1_1Win32ErrorDialog__inherit__graph.png" border="0" usemap="#Ogre_1_1Win32ErrorDialog__inherit__map" alt="Inheritance graph"></center> <map name="Ogre_1_1Win32ErrorDialog__inherit__map"> <area href="classOgre_1_1ErrorDialog.html" shape="rect" coords="25,36,140,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::Win32ErrorDialog:<p><center><img src="classOgre_1_1Win32ErrorDialog__coll__graph.png" border="0" usemap="#Ogre_1_1Win32ErrorDialog__coll__map" alt="Collaboration graph"></center> <map name="Ogre_1_1Win32ErrorDialog__coll__map"> <area href="classOgre_1_1ErrorDialog.html" shape="rect" coords="7,36,121,17" alt=""> <area href="classOgre_1_1String.html" shape="rect" coords="145,36,225,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1Win32ErrorDialog-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgre_1_1Win32ErrorDialog.html#Ogre_1_1Win32ErrorDialoga0">Win32ErrorDialog</a> (HINSTANCE hInst)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1Win32ErrorDialog.html#Ogre_1_1Win32ErrorDialoga1">display</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &errorMessage, <a class="el" href="classOgre_1_1String.html">String</a> logName="")</td></tr> <tr><td> </td><td><font size=-1><em>Displays the error dialog.</em> <a href="#Ogre_1_1Win32ErrorDialoga1"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Static Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top>BOOL CALLBACK </td><td valign=bottom><a class="el" href="classOgre_1_1Win32ErrorDialog.html#Ogre_1_1Win32ErrorDialoge0">DlgProc</a> (HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam)</td></tr> <tr><td> </td><td><font size=-1><em>Callback to process window events.</em> <a href="#Ogre_1_1Win32ErrorDialoge0"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1String.html">String</a> </td><td valign=bottom><a class="el" href="classOgre_1_1Win32ErrorDialog.html#Ogre_1_1Win32ErrorDialogn0">mErrorMsg</a></td></tr> <tr><td nowrap align=right valign=top>HINSTANCE </td><td valign=bottom><a class="el" href="classOgre_1_1Win32ErrorDialog.html#Ogre_1_1Win32ErrorDialogn1">mHInstance</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Windows-specific class for displaying the error dialog if <a class="el" href="namespaceOgre.html">Ogre</a> fails badly! <p> <p> Definition at line <a class="el" href="OgreWin32ErrorDialog_8h-source.html#l00035">35</a> of file <a class="el" href="OgreWin32ErrorDialog_8h-source.html">OgreWin32ErrorDialog.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="Ogre_1_1Win32ErrorDialoga0" doxytag="Ogre::Win32ErrorDialog::Win32ErrorDialog"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::Win32ErrorDialog::Win32ErrorDialog </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">HINSTANCE </td> <td class="mdname1" valign="top" nowrap> <em>hInst</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreWin32ErrorDialog_8cpp-source.html#l00030">30</a> of file <a class="el" href="OgreWin32ErrorDialog_8cpp-source.html">OgreWin32ErrorDialog.cpp</a>. <p> References <a class="el" href="OgreWin32ErrorDialog_8h-source.html#l00050">mHInstance</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1Win32ErrorDialoga1" doxytag="Ogre::Win32ErrorDialog::display"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::Win32ErrorDialog::display </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>errorMessage</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1String.html">String</a> </td> <td class="mdname" nowrap> <em>logName</em> = ""</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Displays the error dialog. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>errorMessage</em> </td><td> The error message which has caused the failure. </td></tr> <tr><td valign=top><em>logName</em> </td><td> Optional name of the log to display in the detail pane. </td></tr> </table> </dl> <p> Implements <a class="el" href="classOgre_1_1ErrorDialog.html#Ogre_1_1ErrorDialoga0">Ogre::ErrorDialog</a>. <p> Definition at line <a class="el" href="OgreWin32ErrorDialog_8cpp-source.html#l00078">78</a> of file <a class="el" href="OgreWin32ErrorDialog_8cpp-source.html">OgreWin32ErrorDialog.cpp</a>. <p> References <a class="el" href="OgreWin32ErrorDialog_8cpp-source.html#l00037">DlgProc</a>(), <a class="el" href="OgreWin32ErrorDialog_8h-source.html#l00046">mErrorMsg</a>, and <a class="el" href="OgreWin32ErrorDialog_8h-source.html#l00050">mHInstance</a>. </td> </tr> </table> <a name="Ogre_1_1Win32ErrorDialoge0" doxytag="Ogre::Win32ErrorDialog::DlgProc"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> BOOL Ogre::Win32ErrorDialog::DlgProc </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">HWND </td> <td class="mdname" nowrap> <em>hDlg</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>UINT </td> <td class="mdname" nowrap> <em>iMsg</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>WPARAM </td> <td class="mdname" nowrap> <em>wParam</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>LPARAM </td> <td class="mdname" nowrap> <em>lParam</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Callback to process window events. <p> <p> Definition at line <a class="el" href="OgreWin32ErrorDialog_8cpp-source.html#l00037">37</a> of file <a class="el" href="OgreWin32ErrorDialog_8cpp-source.html">OgreWin32ErrorDialog.cpp</a>. <p> References <a class="el" href="OgreWin32ErrorDialog_8h-source.html#l00046">mErrorMsg</a>. <p> Referenced by <a class="el" href="OgreWin32ErrorDialog_8cpp-source.html#l00078">display</a>(). </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1Win32ErrorDialogn0" doxytag="Ogre::Win32ErrorDialog::mErrorMsg"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1String.html">String</a> Ogre::Win32ErrorDialog::mErrorMsg<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreWin32ErrorDialog_8h-source.html#l00046">46</a> of file <a class="el" href="OgreWin32ErrorDialog_8h-source.html">OgreWin32ErrorDialog.h</a>. <p> Referenced by <a class="el" href="OgreWin32ErrorDialog_8cpp-source.html#l00078">display</a>(), and <a class="el" href="OgreWin32ErrorDialog_8cpp-source.html#l00037">DlgProc</a>(). </td> </tr> </table> <a name="Ogre_1_1Win32ErrorDialogn1" doxytag="Ogre::Win32ErrorDialog::mHInstance"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> HINSTANCE Ogre::Win32ErrorDialog::mHInstance<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreWin32ErrorDialog_8h-source.html#l00050">50</a> of file <a class="el" href="OgreWin32ErrorDialog_8h-source.html">OgreWin32ErrorDialog.h</a>. <p> Referenced by <a class="el" href="OgreWin32ErrorDialog_8cpp-source.html#l00078">display</a>(), and <a class="el" href="OgreWin32ErrorDialog_8cpp-source.html#l00030">Win32ErrorDialog</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="OgreWin32ErrorDialog_8h-source.html">OgreWin32ErrorDialog.h</a><li><a class="el" href="OgreWin32ErrorDialog_8cpp-source.html">OgreWin32ErrorDialog.cpp</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:21:22 2004 </p> </body> </html>