Home > Software engineering >  MFC: based on the application of the single document how to program implementation system in the reg
MFC: based on the application of the single document how to program implementation system in the reg

Time:10-19

Application to create a single document, how to realize the volume from 0-100 to adjust, 0 indicates the volume, the smallest biggest 100 indicates the volume? Pray god help!

CodePudding user response:

A Synchronized Volume Control for your Application

CodePudding user response:

Thank god send me the above articles, finish see later still don't quite understand, I now need to implement the function: in a single document I created two buttons on the View, I want to click a button and can capture the system sounds in the larger, click another button, can capture the system sounds in decreases, and don't need to add the slider, the volume value between 0-100 change, click on the button, the volume increased or decreased by 10%

CodePudding user response:

http://blog.csdn.net/lqg1999/article/details/4006047

CodePudding user response:


Click on the "big" button, sound,

CodePudding user response:

Thank you very much for the help, the moderator in the MSDN GetVolume () and SetVolume () two functions, can take advantage of these two functions to achieve? When using these two functions, I added the dsound. H header file and dsound. Lib, but compile time show: always open include file: 'dsound. H: No to the file or directory
Why is this? Above is the need to implement the function of the screenshots
  • Related