|
LibreOffice
LibreOffice 24.2 SDK API Reference
|
specifies a factory interface for creating message boxes. More...
import"XMessageBoxFactory.idl";
Public Member Functions | |
| XMessageBox | createMessageBox ([in] com::sun::star::awt::XWindowPeer aParent, [in] MessageBoxType eType, [in] long nButtons, [in] string sTitle, [in] string sMessage) |
| creates a message box. More... | |
Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. More... | |
| void | acquire () |
| increases the reference counter by one. More... | |
| void | release () |
| decreases the reference counter by one. More... | |
specifies a factory interface for creating message boxes.
| XMessageBox createMessageBox | ( | [in] com::sun::star::awt::XWindowPeer | aParent, |
| [in] MessageBoxType | eType, | ||
| [in] long | nButtons, | ||
| [in] string | sTitle, | ||
| [in] string | sMessage | ||
| ) |
creates a message box.
| aParent | a valid XWindowPeer reference which is used as a parent. |
This parameter must not be null.
| eType | the message box type. |
| nButtons | specifies which buttons should be available on the message box. |
A combination of com::sun::star::awt::MessageBoxButtons
A com::sun::star::awt::MessageBoxType::INFOBOX ignores this parameter, instead it uses a com::sun::star::awt::MessageBoxButtons::BUTTONS_OK.
| sTitle | specifies the title of the message box. |
| sMessage | specifies text which will be shown by the message box. Line-breaks must be added using 'CR' or 'CR+LF'. |
1.8.14