StrataFrame Forum

Silent MessageBox.Show

http://forum.strataframe.net/Topic31369.aspx

By Ger Cannoll - 8/14/2012

Everytime I use a messageBox.Show(), the bell sounds. Most of the time, I dont want this to happen. Most searches I've done on this suggest either turning off the bell at the Control Panel(Dont really want to do this) or use a VB MessageBox where I need to start loding VB sfuff (Dont really want to do this either)

Anybody know of a way of displaying a MessageBox without the sound ?

Regards,

Gerard
By Ivan George Borges - 8/14/2012

Hi Ger.

Have a look at the Help File under "Using the MessageForm Class". There are many options for messaging.
By Trent L. Taylor - 8/14/2012

Gerard:

Also, use the StrataFrame message box window.  That is why it is there.  Is supports HTML, rich-text, and plain text.  It is far more capable than the standard Windows messagebox and gives you more control as well.  This also supports full localization if you have that need.  You can have it pull messages from the localization entries.


MicroFour.StrataFrame.Messaging.MessageForm.ShowMessage(...);

or

MicroFour.StrataFrame.Messaging.MessageForm.ShowMessageByKey(...);
By Ger Cannoll - 8/15/2012

Hi Trent / Ivan.

Many thanks for replies and SF MessageForm is just what I needed.... thought there was something there all right but could not remember if it was a SF thing or soemthing else
By Ivan George Borges - 8/15/2012

You're welcome, Ger. Cool