Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MCI Notify Message

Posted on 1998-06-24
3
Medium Priority
?
477 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
ID: 1408553
Edited text of question
0
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 200 total points
ID: 1408554
Did you check to make sure you have MCI_NOTIFY in your MCI command?
0
 

Author Comment

by:gpaige
ID: 1408555
I have it working.... Thanx for your help...
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

927 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