## Description

Include file: xmsgbox.h

### Functions

#### XMessageBox

#### Parameters

XResource * content | resource which point to a string in the application resources to load and display as the messagebox content
XResource * title | resource which point to a string in the application resources to load and display as the messagebox title
ULONG style | the style, possible values are:
MBOX_OK
MBOX_OKCANCEL
MBOX_RETRYCANCEL
MBOX_ABORTRETRYIGNORE
MBOX_YESNO
MBOX_YESNOCANCEL
MBOX_CANCEL
MBOX_ENTER
MBOX_ENTERCANCEL
MBOX_NOICON
MBOX_CUANOTIFICATION
MBOX_CUAWARNING
MBOX_ICONQUESTION
MBOX_ICONEXCLAMATION
MBOX_ICONASTERISK
MBOX_ICONHAND
MBOX_CUACRITICAL
MBOX_QUERY
MBOX_WARNING
MBOX_INFORMATION
MBOX_CRITICAL
MBOX_ERROR
MBOX_CUSTOMICON
MBOX_DEFBUTTON1
MBOX_DEFBUTTON2
MBOX_DEFBUTTON3
MBOX_APPLMODAL
MBOX_SYSTEMMODAL
MBOX_HELP
MBOX_MOVEABLE
MBOX_NONMODAL
Can be or-ed.
XWindow * owner | owner-window of the message box. If owner is set, the message box is modal for the owner-window.
ULONG id | ID for the message-box. If MBOX_HELP is set this value identifies the help-resource in your help-file. Therefore the messagebox must have an owner-window and the owner-window must be related with an instance of XHelpInstance.

char * content | the content of the message box
char * title | the title of the message box
ULONG style | the style, possible values are:
MBOX_OK
MBOX_OKCANCEL
MBOX_RETRYCANCEL
MBOX_ABORTRETRYIGNORE
MBOX_YESNO
MBOX_YESNOCANCEL
MBOX_CANCEL
MBOX_ENTER
MBOX_ENTERCANCEL
MBOX_NOICON
MBOX_CUANOTIFICATION
MBOX_CUAWARNING
MBOX_ICONQUESTION
MBOX_ICONEXCLAMATION
MBOX_ICONASTERISK
MBOX_ICONHAND
MBOX_CUACRITICAL
MBOX_QUERY
MBOX_WARNING
MBOX_INFORMATION
MBOX_CRITICAL
MBOX_ERROR
MBOX_CUSTOMICON
MBOX_DEFBUTTON1
MBOX_DEFBUTTON2
MBOX_DEFBUTTON3
MBOX_APPLMODAL
MBOX_SYSTEMMODAL
MBOX_HELP
MBOX_MOVEABLE
MBOX_NONMODAL
Can be or-ed.
XWindow * owner | owner-window of the message box. If owner is set, the message box is modal for the owner-window.
ULONG id | ID for the message-box. If MBOX_HELP is set this value identifies the help-resource in your help-file. Therefore the messagebox must have an owner-window and the owner-window must be related with an instance of XHelpInstance.

#### Remarks

Construct a message box.
Construct a message box.

#### GetCommand

#### Return-Value

USHORT id The ID of the button the user pressed:

MDID_OK
MDID_CANCEL
MDID_ABORT
MDID_RETRY
MDID_IGNORE
MDID_YES
MDID_NO
MDID_HELP
MDID_ENTER
MDID_ERROR

#### Remarks

Returns the ID of the users action.

This document was generated by Jens von Pilgrim's Autodoc