hWndParent | - The parent window handle |
lpText | - The main message |
lpCaption | - The caption or title for the message window |
type | - The type of message box. The supported types are:
- MB_YESNO
- MB_OK
- MB_YESNOCANCEL
- MB_OKCANCEL The following Win32 MessageBox types are not supported and they will be treated like MB_OKCANCEL:
- MB_ABORTRETRYIGNORE
- MB_RETRYCANCEL
- MB_CANCELTRYCONTINUE The following Win32 MessageBox flags are not supported and will be ignored:
- MB_DEFBUTTON*
- MB_TASKMODAL
- MB_SYSTEMMODAL
- MB_NOFOCUS
- MB_SETFOREGROUND
- MB_TOPMOST
- MB_RIGHT
- MB_RTLREADING The MB_HELP flag is supported, albeit in a manner different than Win32 MessageBox. If specified and 'exRet' is not null, a Help button is displayed and clicking the Help button causes 3ds Max Help to be displayed using the help topic id that is passed through 'exRet'. The MB_HELP flag is ignored if MAX_MB_HOLD is specified in 'exType' or if a type of MB_YESNOCANCEL is specified.
|
exType | - Used for adding additional UI elements. The supported bit field values are:
- MAX_MB_HOLD - display a 'Hold' button. This flag is ignored if a type of MB_YESNOCANCEL is specified. If the Hold button is displayed, it can be selected as the default button by specifying Win32 MessageBox flag MB_DEFBUTTON4 in type.
- MAX_MB_DONTSHOWAGAIN - display a 'Do not show this message again' check box
|
exRet | - Used for specifying the help file topic id and for returning extra info:
- if MAX_MB_DONTSHOWAGAIN is specified as part of 'exType', on return the MAX_MB_DONTSHOWAGAIN bit will or will not be set in 'exRet' based on check box setting.
- if MAX_MB_HOLD is specified as part of 'exType', if the button is pressed the MAX_MB_HOLD bit will set in 'exRet' and a value of IDOK is returned.
|