[RESOLVED] Show BalloonTip for systray icon without the Windows XP "pop" sound?
In my application I make use of balloon tip for a icon I put in the system tray. Every time the code trigger the balloon tip to show up, like I want it to do, I hear the windows "pop" sound that is associated with this type of action. Is there a way to show a balloon tip quietly? ( Running Windows XP)
Re: Show BalloonTip for systray icon without the Windows XP "pop" sound?
I don't think it's possible on an application by application basis. There is a registry key that defines the sound file to be played, at:
HKEY_USERS\DEFAULT\AppEvents\Schemes\Apps\.Default\SystemNotification\.Current
By default it's %SystemRoot%\media\Windows XP Balloon.wav
You could modify that but it would switch the 'Pop' sound off for all System Notifications (not just your app)
Re: Show BalloonTip for systray icon without the Windows XP "pop" sound?
Try using the following with the nid.dwInfoFlags member.
Private Const NIIF_NOSOUND = &H10
http://207.46.199.254/en-us/library/...52(VS.85).aspx
Re: Show BalloonTip for systray icon without the Windows XP "pop" sound?
Thanks again! The NIIF_NOSOUND flag worked.