MessageBox Class

Definition

Line 47 of System.Screen/MessageBox.cm

Inheritance

Constructors & Destructor

public nothrow MessageBox(MessageBoxCreateParams& createParams)

Member Functions

public override nothrow Button* DefaultButton() const
private void Measure(bool setLoc)
private float MeasureChildWidth(int& width, List<Control*>& children)
public override void OnWriteScreen(WriteScreenEventArgs& args)
private void SetChildLocations(float sw, int height, List<Control*>& children)
private void WriteCaption(const String<uchar>& captionStr)
private void WriteChildren(WriteScreenEventArgs& args)
private void WriteText()

Member Variables

private MessageBoxButtons buttons
private String<char> caption
private String<char> text
private List<String<uchar>> textLines

Constructor& Destructor Details

MessageBox Constructor

public nothrow MessageBox(MessageBoxCreateParams& createParams)

Definition
Line 49 of System.Screen/MessageBox.cm


Member Function Details

DefaultButton Member Function

public override nothrow Button* DefaultButton()

Definition
Line 102 of System.Screen/MessageBox.cm


Measure Member Function

private void Measure(bool setLoc)

Definition
Line 134 of System.Screen/MessageBox.cm


MeasureChildWidth Member Function

private float MeasureChildWidth(int& width, List<Control*>& children)

Definition
Line 154 of System.Screen/MessageBox.cm


OnWriteScreen Member Function

public override void OnWriteScreen(WriteScreenEventArgs& args)

Definition
Line 119 of System.Screen/MessageBox.cm


SetChildLocations Member Function

private void SetChildLocations(float sw, int height, List<Control*>& children)

Definition
Line 179 of System.Screen/MessageBox.cm


WriteCaption Member Function

private void WriteCaption(const String<uchar>& captionStr)

Definition
Line 195 of System.Screen/MessageBox.cm


WriteChildren Member Function

private void WriteChildren(WriteScreenEventArgs& args)

Definition
Line 219 of System.Screen/MessageBox.cm


WriteText Member Function

private void WriteText()

Definition
Line 205 of System.Screen/MessageBox.cm