Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

interface XMessageBoxFactory
Description
specifies a factory interface for creating message boxes.

Methods' Summary
createMessageBox creates a message box.  
Methods' Details
createMessageBox
XMessageBox
createMessageBox( [in] XWindowPeer  aParent,
[in] MessageBoxType  eType,
[in] long  nButtons,
[in] string  sTitle,
[in] string  sMessage );

Description
creates a message box.
Returns
the created message box or a null reference if it cannot be created.
Parameter aParent
a valid XWindowPeer reference which is used as a parent.

This parameter must not be null.

Parameter aType
the message box type.
Parameter aButtons
specifies which buttons should be available on the message box.

A combination of MessageBoxButtons.

A MessageBoxType::INFOBOX ignores this paramter, instead it uses a MessageBoxButtons::BUTTONS_OK.

Parameter aTitle
specifies the title of the message box.
Parameter aMessage
specifies text which will be shown by the message box. Line-breaks must be added using 'CR' or 'CR+LF'.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.