It seems like the MsgBox function ignores icons.
* Dim iReply As Integer iReply=MsgBox("Do you feel like pressing the
Yes button?", _ MB_YESNO OR MB_ICONQUESTION OR
MB_DEFBUTTON2, _ "Your choice")*
I expect a message button with a Yes and a No button. the latter being
default. I also expect the message box to display a big question mark.
The constants I'm using are described in the file
least on Manjaro Linux), and I will include them here:
Display OK button only.
Display OK and Cancel buttons.
Display Abort, Retry, and Ignore buttons.
Display Yes, No, and Cancel buttons.
Display Yes and No buttons.
Display Retry and Cancel buttons.
Add the Stop icon to the dialog.
Add the Question icon to the dialog.
Add the Exclamation Point icon to the dialog.
Add the Information icon to the dialog.
First button in the dialog as default button.
Second button in the dialog as default button.
Third button in the dialog as default button.
Seems like all the MB_ICONxxx options are ignored.
I just want to find out if this is a bug or not. Maybe the problem is my
theme or something, so I just wonder if this works for anybody else.
To unsubscribe e-mail to: firstname.lastname@example.org
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
- [libreoffice-users] Icons in message box · Johnny Rosenberg
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy