Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

MCI_Notify flag

Posted on 2000-02-23
2
Medium Priority
?
697 Views
Last Modified: 2013-11-20
When using a MCI device the notify flag can be set to notify the application when the device has finished executing the specified command.

How do I add a handler to process this message ?

Do I have to add a message map handler to my dialog class. If so how do I that ?

Regards

ManX
0
Comment
Question by:manx
[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 Comments
 
LVL 1

Accepted Solution

by:
olgat earned 150 total points
ID: 2549748
Hi:
In your MCI_PLAY_PARMS structure, fill in dwCallback field as following:

mciPlay.dwCallback = MAKELONG(hNotifyWnd, 0);

where hNotifyWnd is a handle of your window to notify

in your "window to notify" message map place message handler as usual

ON_MESSAGE(MM_MCINOTIFY, OnMusicDone)

Don't hesitate to ask if something is not clear.

0
 

Author Comment

by:manx
ID: 2550314
Thanks for the Assist olgat

Regards

ManX
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

618 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