The Free and Open Productivity Suite
Apache OpenOffice 4.1.7 released

Developer's Guide



Tips 'n' Tricks


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

interface XMessageBoxFactory
specifies a factory interface for creating message boxes.

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

creates a message box.
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 Events

Apache Software Foundation

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

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