DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmMessageBoxGetChild(Xm)


XmMessageBoxGetChild -- a MessageBox function that is used to access a component

Syntax

#include <Xm/MessageB.h>

Widget XmMessageBoxGetChild (widget, child) Widget widget; unsigned char child;

Description

XmMessageBoxGetChild is used to access a component within a MessageBox. The parameters given to the function are the MessageBox widget and a value indicating which component to access.

widget
Specifies the MessageBox widget ID.

child
Specifies a component within the MessageBox. The following are legal values for this parameter:

XmDIALOG_CANCEL_BUTTON
XmDIALOG_DEFAULT_BUTTON
XmDIALOG_HELP_BUTTON
XmDIALOG_MESSAGE_LABEL
XmDIALOG_OK_BUTTON
XmDIALOG_SEPARATOR
XmDIALOG_SYMBOL_LABEL

For a complete definition of MessageBox and its associated resources, see XmMessageBox(Xm).

Return value

Returns the widget ID of the specified MessageBox component. An application should not assume that the returned widget will be of any particular class.

See also

XmMessageBox(Xm)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005