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)
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)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have it working.... Thanx for your help...
ASKER