Solved

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

Posted on 1998-07-22
3
749 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to match SAS datasets by multiple key variables and then rename and create new variables? 2 89
sum28 challenge 31 112
fizzArray  challenge 1 82
Not needed 13 111
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

776 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