Solved

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

Posted on 1998-07-22
3
745 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:MuraliKrishna
  • 2
3 Comments
 
LVL 23

Accepted Solution

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

Author Comment

by:MuraliKrishna
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:MuraliKrishna
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now