Different Msgbox

SD23

Registered User.
Local time
Today, 11:03
Joined
Jun 13, 2006
Messages
60
Is It possible to have a blinking message box or a blinking button. If so how would I implement it. I want some type of message box that will get the users attention. Any ideas would be appreciated. Thanks
 
You would need to create your own form and display it instead of a message box.
 
Standard message boxes are modal, meaning that the user can't click off them until they have done something with it. I can't see how much more attention grabbing you could be. A blinking form is more likely to annoy your users than anything else :) (I know it would annoy the hell out of me :P)
 
Alot of times, the user will just click ok with out reading the message. The message is pretty important and the user must read it. I know, it would annoy me too, but if blinkin I know I would take some time to read it.
 
Just because it is blinking does not mean that the user can not quickly click the OK button to close it.
 
Use vbCritical or vbExclamation to add a icon to the messagebox to alert the users that this is very serious.

Alternatively, use a OK | Cancel message box to get a user to think about his/her choice for a bit more than a nanosecond.
 
Hello

Here is an example of a flashing message.
Regards
Mark
 

Attachments

You could add some "beeps" when your message box is called. I use this as an attention getter for the important stuff. These custom pitched beeps come out of the users internal PC speaker so they can not turn them off.

Code:
Option Compare Database
Option Explicit

'Beep(pitch,length) 'Beep 1000, 200
Public Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long

Public Function Beep_Critical()
    Beep 1000, 100
End Function

Public Function Beep_Low()
    Beep 100, 50
End Function

Public Function Beep_Normal()
    Beep 500, 50
End Function
Then this is how you would use it...
Code:
Public Sub TestBEEPs()
    Call Beep_Critical
    Call Beep_Low
    Call Beep_Normal
    Call Beep_Critical
    MsgBox "Testing 1 2 3", vbCritical + vbOKOnly, "This is critical!"
End Sub
You can adjust the numbers to create your own sounds.
 
Thats great, Thanks for all your help. I think I will add beeps.
 

Users who are viewing this thread

Back
Top Bottom