Enabling Sound In WPF Projects RRS feed

  • Question

  • I imported a sound .wav file to play whenever a button is clicked. The sound does indeed play, but it doesn't play at the moment the button is clicked. It plays a split second after the button has been clicked and the user has been taken to the next screen. I want the sound to play as the user clicks down on the button.

    I've tried the "mousedown", "click" and "mousecapture" commands, but the sound still only plays AFTER the button has already been clicked and the new screen appears. What do I need to do to fix this?

    Thanks! :)
    Monday, February 23, 2009 7:39 PM

All replies