Library | File

Class pfcMessageDialogOptions

# include <pfcUI.h>

class pfcMessageDialogOptions
 : public virtual xobject
{
    xdeclare(pfcMessageDialogOptions)
    ...
};
This is a COMPACT class.



Description

This class specifies the options for a message dialog.



Method Summary

static pfcMessageDialogOptions_ptrCreate ()
Creates a class object for message dialog options.
optional pfcMessageButtons_ptrGetButtons ()
voidSetButtons (optional pfcMessageButtons_ptr value)
An array of possible button identifiers to show in the dialog. If null, the dialog will include only an OK button.
optional pfcMessageButtonGetDefaultButton ()
voidSetDefaultButton (optional pfcMessageButton value)
The identifier of the default button. If null, the default button will be the OK button.
optional xstringGetDialogLabel ()
voidSetDialogLabel (optional xrstring value)
The text to display as the dialog title. If null, the dialog title will be "Info" regardless of the language used by Creo Parametric.
optional pfcMessageDialogTypeGetMessageDialogType ()
voidSetMessageDialogType (optional pfcMessageDialogType value)
 The type of icon to show with the message dialog. If null, the dialog will show the Info icon.



Method Detail

optional pfcMessageDialogTypeGetMessageDialogType ()
voidSetMessageDialogType (optional pfcMessageDialogType value)

 The type of icon to show with the message dialog. If null, the dialog will show the Info icon.
Manual References:
Session Objects: Writing a Message Using a Message Pop-up Dialog Box




optional xstringGetDialogLabel ()
voidSetDialogLabel (optional xrstring value)

The text to display as the dialog title. If null, the dialog title will be "Info" regardless of the language used by Creo Parametric.
Manual References:
Session Objects: Writing a Message Using a Message Pop-up Dialog Box




optional pfcMessageButtons_ptrGetButtons ()
voidSetButtons (optional pfcMessageButtons_ptr value)

An array of possible button identifiers to show in the dialog. If null, the dialog will include only an OK button.
Manual References:
Session Objects: Writing a Message Using a Message Pop-up Dialog Box




optional pfcMessageButtonGetDefaultButton ()
voidSetDefaultButton (optional pfcMessageButton value)

The identifier of the default button. If null, the default button will be the OK button.
Manual References:
Session Objects: Writing a Message Using a Message Pop-up Dialog Box




static pfcMessageDialogOptions_ptrCreate ()

Creates a class object for message dialog options.
Manual References:
Session Objects: Writing a Message Using a Message Pop-up Dialog Box
Returns:
A pointer to the object