[ROOT] Message Box

From: Thomas Bretz (tbretz@uni-sw.gwdg.de)
Date: Thu Aug 16 2001 - 14:18:17 MEST


Hello,

I want to open a message box. Something like a canvas with a text
message and (maybe) an icon inside, in which I can display a simple
message like: "This file cannot be opened." and a close button. It
should be modal.

Is there an easy way for such a thing or do I have to create my own
Message-Box class? 

Something like:

{
  TMessageBox *box = new TMessageBox(x, y, "The value must be in the
range between 0 and 1.");

  while (box->IsOpen())
    usleep(1);

  delete box;
}

Thanks,
Thomas.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:57 MET