RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Dialogs.TMsgDlgType Enumeration

TMsgDlgType defines values describing the type of message box.

Pascal
TMsgDlgType = (
  mtWarning,
  mtError,
  mtInformation,
  mtConfirmation,
  mtCustom
);
C++
enum TMsgDlgType {
  mtWarning,
  mtError,
  mtInformation,
  mtConfirmation,
  mtCustom
};

The TMsgDlgType type defines the values describing the type of a message box. The TMsgDlgType is used by the MessageDlg and MessageDlgPos functions. The following table lists the possible values:

Value 
Meaning 
mtWarning  
A message box containing a yellow exclamation point symbol.  
mtError  
A message box containing a red stop sign.  
mtInformation  
A message box containing a blue "i".  
mtConfirmation  
A message box containing a green question mark.  
mtCustom  
A message box containing no bitmap. The caption of the message box is the name of the application's executable file.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!