[comp.windows.x.motif] XmMessageBox and XmDIALOG_NONE in Motif 1.0.3

lfs@mbunix.mitre.org (Sheats) (02/07/91)

Maybe someone could answer the following:

The OSF/Motif Programmer's Reference Revision 1.0 (Prentice Hall) claims that
the XmNdefaultButtonType resource specifies the default PushButton, and this
resource can be one of: XmDIALOG_CANCEL_BUTTON, XmDIALOG_OK_BUTTON,
XmDIALOG_HELP_BUTTON.  The default is XmDIALOG_OK_BUTTON.  However, my Xm.h
file tells me something different:

#define XmDIALOG_NONE             0       /* a valid default button type */

When I set the XmNdefaultButtonType resource to XmDIALOG_NONE (on my warning
dialog), sure enough, there is no default button.

What I am wondering (I hope this doesn't sound too silly):
  Is what I am doing reasonable (even though the documentation seems to
indicate otherwise)?  I'm using Motif 1.0.3, and plan to upgrade to 1.1 very
shortly.  Can I expect the same behavior in Motif 1.1?  Any help would be
appreciated.