Solved

Is there a mixer device (volume control) API Sample in MFC?

Posted on 1998-07-22
3
756 Views
Last Modified: 2013-11-20
I'm trying to implement a simple Volume Control (just like the one next to
the clock on the Taskbar) in Windows NT 4.0.

If you have installed Visual C++ samples from the MSDN CDs, there's a sample
        DevStudio\samples\sdk\mm\MIXAPP

Is there an equivalent MFC sample?
If not, is there at least  a similar MFC sample that uses the mixer apis to
display a similar volume control?

The SDK cool, and does what I want- implement a Volume Control.
I've figured out (I think!) that I need to create a mixer device of class
MIXERCONTROL_CT_CLASS_FADER.
I need just this code.

However, I'm faced with the challenge of first extracting and converting to
MFC, code that's relevant to my needs.
The sample is SDK based, uses Message Crackers, has code that written to be
portable across all platforms (including win3.1!) and has so many features
that I'm finding the going very slow in my efforts to convert and extract
the code to work in my MFC Visual C++ 5.0 app.

Thanks for any help!
Murali Krishna Devarakonda
0
Comment
Question by:Murali Devarakonda
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
ID: 1319616
0
 
LVL 1

Author Comment

by:Murali Devarakonda
ID: 1319617
Simply outstanding. I haven't spent a lot of time going through your code, but I've compiled and run it.
I can see that it's exactly what I want, without a lot of the unnecessary stuff that tended to obscure rather than elucidate(sorry, couldn't resist that!).

Thank you 'Chensu'!
Murali
0
 
LVL 1

Author Comment

by:Murali Devarakonda
ID: 1319618
Simply outstanding. I haven't spent a lot of time going through your code, but I've compiled and run it.
I can see that it's exactly what I want, without a lot of the unnecessary stuff that tended to obscure rather than elucidate(sorry, couldn't resist that!).

Thank you 'Chensu'!
Murali
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Question regarding Copy/Paste 16 97
ASCII Non-Printable characters/codes and their HTML equivalents 6 143
maven archtype selection in eclipse 1 58
x-bar in Google Sheets 2 91
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question