[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Equivalent to Win32 MessageBox()?
- To: firstname.lastname@example.org
- Subject: Equivalent to Win32 MessageBox()?
- From: "J. Perkins" <email@example.com>
- Date: Fri, 28 Jun 2002 13:50:35 -0400
- Delivered-To: firstname.lastname@example.org
- Delivered-To: mailing list email@example.com
- Delivery-Date: Fri, 28 Jun 2002 14:00:49 -0400
- Mailing-List: contact firstname.lastname@example.org; run by ezmlm
- Reply-To: email@example.com
- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530
When a fatal error occurs in my game, I'd like to display a message
to the user in a popup window, similar to Win32's MessageBox or
Beos' alert(). Chances are, my application will not have any other
windows open at the time (they will have been closed as part of
the "emergency shutdown"). I don't want to rely on any particular
widget set, so it has to be just straight X. Looking around the web,
it appears that XtPopup/XtPopdown might do what I want, but I'm
having a hard time finding a clear example of how they are used in
this context, and I haven't able to make anything work.
Anyone help me out?