Results 1 to 4 of 4

Thread: [RESOLVED] Show BalloonTip for systray icon without the Windows XP "pop" sound?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2006
    Posts
    26

    Resolved [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)

  2. #2
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    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)

  3. #3
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    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

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jun 2006
    Posts
    26

    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
  •  



Click Here to Expand Forum to Full Width