What messages are sent before WM_NCCREATE?

This is a discussion on What messages are sent before WM_NCCREATE? within the Windows Programming forums, part of the Platform Specific Boards category; I noticed a while ago that there is a message that is sent before WM_NCCREATE, but I cant seem to ...

  1. #1
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630

    What messages are sent before WM_NCCREATE?

    I noticed a while ago that there is a message that is sent before WM_NCCREATE, but I cant seem to find out what it is, I know that its numeric value is 36. Anyone know the WM_?? Or know of a listing of the WM_messages and their numeric values?
    Last edited by xds4lx; 07-24-2002 at 11:10 PM.
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Hi xds4lx, the WM_NCCALCSIZE is sent before WM_NCCREATE. I think WM_MEASUREITEM (or the other 'measure' msg) may be sent first.

    A reasonably quick way of determing the order is to step through your code and store the WM_* values as they arrrive in your wndproc; you can then examine them in any way that is convenient to you.

    edit: 36=0x24=WM_GETMINMAXINFO (the other 'measure' msg ). Most of the message codes are listed in winuser.h so a quick search on the hex value (msvc header, haven't checked others) will usually locate the msg for you. Hope that helps.
    Last edited by Ken Fitlike; 07-25-2002 at 12:26 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Messages Between Different Architectures
    By Cell in forum Linux Programming
    Replies: 5
    Last Post: 05-07-2009, 03:40 AM
  2. Spy++ view messages posted/sent to a control, or from it?
    By hanhao in forum Windows Programming
    Replies: 2
    Last Post: 06-24-2007, 11:07 PM
  3. Sending windows messages
    By Ideswa in forum Windows Programming
    Replies: 2
    Last Post: 03-02-2006, 12:27 PM
  4. Intercepting messages
    By ScriptBlue in forum Windows Programming
    Replies: 2
    Last Post: 06-23-2005, 12:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21