Solved

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

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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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 video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

615 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