How can I control system sound volume with a TrackBar?
问题 I'm a beginner and making an internet radio player and I want to control the volume with my own TrackBar . How is that possible? I haven't found any solutions to do this. 回答1: Take a look at NAudio. this is a brilliant API for implementing audio based applications in .NET http://naudio.codeplex.com/ Also consider this how to Control "Windows XP Volume Control" with VC# This might also help. This explains how to hook the Win32 API Multimedia library (winmm.dll) to control system volume http:/