Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXMessageBox Class Reference

Message box. More...

#include <FXMessageBox.h>

Inheritance diagram for FX::FXMessageBox:

FX::FXDialogBox FX::FXTopWindow FX::FXShell FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Types

enum  {
  ID_CLICKED_YES = FXDialogBox::ID_LAST,
  ID_CLICKED_NO,
  ID_CLICKED_OK,
  ID_CLICKED_CANCEL,
  ID_CLICKED_QUIT,
  ID_CLICKED_SAVE,
  ID_CLICKED_SKIP,
  ID_CLICKED_SKIPALL,
  ID_LAST
}

Public Member Functions

 FXMessageBox (FXWindow *owner, const FXString &caption, const FXString &text, FXIcon *ic=NULL, FXuint opts=0, FXint x=0, FXint y=0)
 FXMessageBox (FXApp *app, const FXString &caption, const FXString &text, FXIcon *ic=NULL, FXuint opts=0, FXint x=0, FXint y=0)

Static Public Member Functions

FXuint error (FXWindow *owner, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4
FXuint error (FXApp *app, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4
FXuint warning (FXWindow *owner, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4
FXuint warning (FXApp *app, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4
FXuint question (FXWindow *owner, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4
FXuint question (FXApp *app, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4
FXuint information (FXWindow *owner, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4
FXuint information (FXApp *app, FXuint opts, const char *caption, const char *message,...) FX_PRINTF(4

Detailed Description

Message box.

See also:


Constructor & Destructor Documentation

FX::FXMessageBox::FXMessageBox FXWindow owner,
const FXString caption,
const FXString text,
FXIcon ic = NULL,
FXuint  opts = 0,
FXint  x = 0,
FXint  y = 0
 

Construct message box with given caption, icon, and message text.

FX::FXMessageBox::FXMessageBox FXApp app,
const FXString caption,
const FXString text,
FXIcon ic = NULL,
FXuint  opts = 0,
FXint  x = 0,
FXint  y = 0
 

Construct free floating message box with given caption, icon, and message text.


Member Function Documentation

FXuint FX::FXMessageBox::error FXWindow owner,
FXuint  opts,
const char *  caption,
const char *  message,
  ...
[static]
 

Show a modal error message.

The text message may contain printf-tyle formatting commands.

FXuint FX::FXMessageBox::error FXApp app,
FXuint  opts,
const char *  caption,
const char *  message,
  ...
[static]
 

Show modal error message, in free floating window.

FXuint FX::FXMessageBox::warning FXWindow owner,
FXuint  opts,
const char *  caption,
const char *  message,
  ...
[static]
 

Show a modal warning message The text message may contain printf-tyle formatting commands.

FXuint FX::FXMessageBox::warning FXApp app,
FXuint  opts,
const char *  caption,
const char *  message,
  ...
[static]
 

Show modal warning message, in free floating window.

FXuint FX::FXMessageBox::question FXWindow owner,
FXuint  opts,
const char *  caption,
const char *  message,
  ...
[static]
 

Show a modal question dialog The text message may contain printf-tyle formatting commands.

FXuint FX::FXMessageBox::question FXApp app,
FXuint  opts,
const char *  caption,
const char *  message,
  ...
[static]
 

Show modal question message, in free floating window.

FXuint FX::FXMessageBox::information FXWindow owner,
FXuint  opts,
const char *  caption,
const char *  message,
  ...
[static]
 

Show a modal information dialog The text message may contain printf-tyle formatting commands.

FXuint FX::FXMessageBox::information FXApp app,
FXuint  opts,
const char *  caption,
const char *  message,
  ...
[static]
 

Show modal information message, in free floating window.

Copyright © 1997-2004 Jeroen van der Zijp