Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 1998-07-22
3
Medium Priority
?
771 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 400 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

688 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