Solved

MCI Notify Message

Posted on 1998-06-24
3
446 Views
Last Modified: 2013-12-03
I want to respond to an MCI message in my application ( its a MFC SDI app)... The mci command sends a MM_MCINOTIFY message which i want to catch, but it appears I need to create my own handler - I have tried to set up a handler in the message pump but it never seems to get called...

I basically set up my handler like a WM_USER message - in the  MESSAGE_MAP  I put
ON_MESSAGE(MM_MCINOTIFY, OnMCIMessage)

and in the header i placed
afx_msg LRESULT OnMCIMessage( WPARAM Flag, LPARAM ID)

0
Comment
Question by:gpaige
  • 2
3 Comments
 

Author Comment

by:gpaige
Comment Utility
Edited text of question
0
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 100 total points
Comment Utility
Did you check to make sure you have MCI_NOTIFY in your MCI command?
0
 

Author Comment

by:gpaige
Comment Utility
I have it working.... Thanx for your help...
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

772 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

11 Experts available now in Live!

Get 1:1 Help Now