If I overload WndProc(), I'll want a switch() in there to act on different
windows WM_ messages like WM_MOUSEMOVE and stuff like that. Trouble is, how
do I find the value of these constants? I know, I can hunt around in
winuser.h for them, but if I'm a VB or C# guy, that's kind of a roundabout
solution. The ".net" way of doing this would be to give me an enum that
contained all the values. Is there such a thing? I can't find one.

Re: Is there an enumeration for the WM_ messages???? by 100

100
Tue Nov 25 15:25:53 CST 2003

Hi 0to60,
AFAIK there is no such a structure. The only way is to look at c++ header
files.
As long as using platform dependent stuff should be avoided the framework
doesn't provide this info.

B\rgds
100


"0to60" <holeshot60_nospam_@yahoo.com> wrote in message
news:VsNwb.154$s03.12@newssvr33.news.prodigy.com...
> If I overload WndProc(), I'll want a switch() in there to act on different
> windows WM_ messages like WM_MOUSEMOVE and stuff like that. Trouble is,
how
> do I find the value of these constants? I know, I can hunt around in
> winuser.h for them, but if I'm a VB or C# guy, that's kind of a roundabout
> solution. The ".net" way of doing this would be to give me an enum that
> contained all the values. Is there such a thing? I can't find one.
>
>