Link to home
Start Free TrialLog in
Avatar of gpaige
gpaige

asked on

MCI Notify Message

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)

Avatar of gpaige
gpaige

ASKER

Edited text of question
ASKER CERTIFIED SOLUTION
Avatar of Tommy Hui
Tommy Hui

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gpaige

ASKER

I have it working.... Thanx for your help...