Windows Message Values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Where can I find the values for Windows Messages like MM_MCINOTIFY,
MCI_NOTIFY_ABORTED, etc.

I have looked and searched Google but can't seem to find a complete listing.
 
Dennis said:
Where can I find the values for Windows Messages like MM_MCINOTIFY,
MCI_NOTIFY_ABORTED, etc.

I have looked and searched Google but can't seem to find a complete listing.

I don't know what the 'official' way of doing this is, although I'm
sure someone will.

If you have Visual *Studio*, you have Visual C++ - find its Include
folder and that will contain all the C header files that C developers
need to do stuff. Use your favorite search utility to search these for
the Windows constant you want.

If you just have Visual *Basic*, I'm not sure what you can do.

btw,
MM_MCINOTIFY = &H3B9
MCI_NOTIFY_ABORTED = &H4
 
Thanks. It seems strange that M'soft keeps these values so close to their
vest! I would have thought that they would have included them as part of the
MSDN
 
Where can I find the values for Windows Messages like MM_MCINOTIFY,
MCI_NOTIFY_ABORTED, etc.

Generally, you want to scrounge around in .h files. I found the following
on my machine in mmsystem.h in the .net directories:


C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include>findstr /sipr mm_mcnotify *.*

C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include>findstr /sipr notify_aborted *.*
MMSystem.h:#define MCI_NOTIFY_ABORTED 0x0004

C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include>findstr /sipr mm_mcinotify *.*
MMSystem.h:#define MM_MCINOTIFY 0x3B9 /* MCI */
MMSystem.h:/* flags for wParam of MM_MCINOTIFY message */
 
Thanks for help. I managed to find the values I needed in the include files.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top