|
-
Jan 5th, 2008, 03:31 AM
#1
Thread Starter
Junior Member
[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)
-
Jan 5th, 2008, 06:08 AM
#2
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)
-
Jan 5th, 2008, 01:36 PM
#3
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
-
Jan 5th, 2008, 04:55 PM
#4
Thread Starter
Junior Member
Re: Show BalloonTip for systray icon without the Windows XP "pop" sound?
Thanks again! The NIIF_NOSOUND flag worked.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|