Chapter 12. Dealing with Multimedia and User Input

Being a technology for developing rich user interfaces, it makes sense that WPF should provide good support for integrating video and audio into your applications and for getting input from the user. This chapter takes a look at some of the video, audio, and user input capabilities provided by WPF.

As with so many things, WPF makes it relatively easy to add strong multimedia and user input support to your applications. The recipes in this chapter describe how to:

  • Play standard Windows system sounds (recipe 12-1)

  • Play sounds when users interact with controls (recipe 12-2)

  • Play and control the playback characteristics of media files (recipes 12-3)

  • Respond when the user clicks controls with the mouse ...

Get WPF Recipes in C# 2008: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.