ErrorInfo Class Reference

Describe the error/warning/question that is to be displayed. Fields are: MonoOn ErrorMsg - Resource ID of the error message. Title - resource ID of the dialogue title string (optional) Button - array of up to 4 button string resource IDs. OK - the button which is the 'OK' or default button, i.e. the one which should be activated by Enter (this in the range 1-4). Cancel - the button which is the 'Cancel' button, i.e. the one which should be activated by Esc (this in the range 1-4). Help - the index of the button which is the 'Help' button (this in the range 1-4). MonoOff. More...

#include <errors.h>

List of all members.

Public Member Functions

 ErrorInfo ()
 Initialises the fields of the error info structure to sensible defaults.

Public Attributes

UINT32 ErrorMsg
UINT32 Title
UINT32 Button [4]
UINT32 OK
UINT32 Cancel
UINT32 Help


Detailed Description

Describe the error/warning/question that is to be displayed. Fields are: MonoOn ErrorMsg - Resource ID of the error message. Title - resource ID of the dialogue title string (optional) Button - array of up to 4 button string resource IDs. OK - the button which is the 'OK' or default button, i.e. the one which should be activated by Enter (this in the range 1-4). Cancel - the button which is the 'Cancel' button, i.e. the one which should be activated by Esc (this in the range 1-4). Help - the index of the button which is the 'Help' button (this in the range 1-4). MonoOff.

Author:
Tim_Browse (Xara Group Ltd) <camelotdev@xara.com>
Date:
04/07/94
See also:
InformGeneral

Definition at line 145 of file errors.h.


Constructor & Destructor Documentation

ErrorInfo::ErrorInfo  ) 
 

Initialises the fields of the error info structure to sensible defaults.

Author:
Tim_Browse (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/05/94

Definition at line 165 of file errors.cpp.

00166 {
00167     ErrorMsg  = 0;
00168     Title     = 0;
00169     Button[0] = _R(IDS_OK);
00170     Button[1] = 0;
00171     Button[2] = 0;
00172     Button[3] = 0;
00173     OK        = 1;
00174     Cancel    = 2;
00175     Help      = 0;              // by default there is no help button
00176 }


Member Data Documentation

UINT32 ErrorInfo::Button[4]
 

Definition at line 152 of file errors.h.

UINT32 ErrorInfo::Cancel
 

Definition at line 154 of file errors.h.

UINT32 ErrorInfo::ErrorMsg
 

Definition at line 150 of file errors.h.

UINT32 ErrorInfo::Help
 

Definition at line 155 of file errors.h.

UINT32 ErrorInfo::OK
 

Definition at line 153 of file errors.h.

UINT32 ErrorInfo::Title
 

Definition at line 151 of file errors.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:54:04 2007 for Camelot by  doxygen 1.4.4