Disable sound of MessageBox

rmschreuder

Member
Licensed User
Hi everyone,

:sign0085:
Is there a way to have a messagebox without the sound. I have an apllication with a lot of messageboxes popping up and do not need the loud sound all the time.

Rgrds, Mike
:sign0104:
 

corwin42

Expert
Licensed User
Longtime User
This is only possible system wide.

Since I only have a german device I have to guess what the names are in english.

Go to Start->Settings->Sounds and Notifications.
Disable the first checkbox for Events (Warnings, System events).

Greetings,
Markus
 

Mr_Gee

Active Member
Licensed User
Longtime User
Hi everyone,

:sign0085:
Is there a way to have a messagebox without the sound. I have an apllication with a lot of messageboxes popping up and do not need the loud sound all the time.

Rgrds, Mike
:sign0104:

why dont you build your own, using a panel ?

B4X:
Sub MessageBox'(Text,Title,Buttons,Icon)
    AddPanel("Form1","MSG",Form1.Width/4,Form1.Height/4,150,130)
    Control("MSG").Color = cSilver
      
End Sub
 

mjcoon

Well-Known Member
Licensed User

Who's offering a full implementation, including sizing to fit the content, presentation of buttons and icons, and returning the right value for the button clicked?...
 

ExcludeReality

Active Member
Licensed User
Or just turn the volume off before displaying the message box and turn it on again after.
I think there's a library to change volume
 
D

Deleted member 103

Guest
This example is just an alternative to the message box, not the solution to your question!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…