Re: Message 36? WM_????

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: CheckAbdoul (checkabdoul)
Date: 02/22/04


Date: Sun, 22 Feb 2004 12:59:05 -0500

If you are debugging your application, type

        messageNo, wm

in the watch window to get the actual name of the message. For example

        131,wm = WM_NCCALCSIZE

-- 
Cheers
Check Abdoul [VC++ MVP]
-----------------------------------
"Bonj" <a@b.com> wrote in message
news:eDR7xpW%23DHA.3220@TK2MSFTNGP10.phx.gbl...
> OK, it gets 36 (getminmaxinfo), 129 (wm_nccreate), then 131, then
WM_CREATE
> (which is 1).
> What's 131?
>
>
>
> "Jeff Partch [MVP]" <jeffp@mvps.org> wrote in message
> news:OGZjKeW%23DHA.3496@TK2MSFTNGP10.phx.gbl...
> > "Bonj" <a@b.com> wrote in message
> > news:OZRBLXW%23DHA.3820@TK2MSFTNGP09.phx.gbl...
> > > Is it needed to be handled in a certain way, as it keeps firing before
> my
> > > WM_CREATE message? A couple of others aswell actually, WM_CREATE is
> about
> > > the fourth in the early stages of the newborn window's lifetime.
> >
> > Like most messages, DefWindowProc will do what it believes to be the
right
> > thing. If you don't want the default behavior, you can handle it. Here's
a
> > kb article...
> >
> > http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B67166
> >
> > -- 
> > Jeff Partch [VC++ MVP]
> >
> >
>
>


Relevant Pages

  • Re: Message 36? WM_????
    ... in the watch window to get the actual name of the message. ... Check Abdoul [VC++ MVP] ... "Bonj" wrote in message ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Adding custom entries to the autoexp.dll with $ADDIN
    ... "CheckAbdoul" wrote in message ... > Check Abdoul [VC++ MVP] ... >> solution by editing the autoexp.dat to use a custom dll written by ...
    (microsoft.public.vc.debugger)
  • Re: Long directory listing?
    ... Try using subst command to substitute a drive letter to your long path. ... Check Abdoul [VC++ MVP] ... "Ben Samuals" wrote in message ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Message box detached
    ... Check Abdoul [VC++ MVP] ... > but the result is always a OK / Cancel message box! ... > Cyrille Proust ...
    (microsoft.public.vc.mfc)
  • Re: Using the Line Method to Draw Horizontal Lines
    ... Marshall Barton wrote: ... carefully and try using Debug.Print or the Watch Window to ... confusion. ... MVP ...
    (microsoft.public.access.reports)