Message

This is a discussion on Message within the Windows Programming forums, part of the Platform Specific Boards category; Is there a message that occurs when the user minimizes and resizes (from minimized mode) the window? What's their names?...

  1. #1
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    Message

    Is there a message that occurs when the user minimizes and resizes (from minimized mode) the window? What's their names?
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  2. #2
    Ken Fitlike
    Guest
    WM_SIZE.

    The WPARAM is a value specifying the action:

    SIZE_MINIMIZED - wnd minimized.
    SIZE_MAXIMIZED - wnd maximised.
    SIZE_RESTORED - resized but not minimized/maximised
    SIZE_MAXHIDE - some other wnd maximized
    SIZE_MAXSHOW - some other wnd restored.

    The LPARAM contains the height and width of the client area (use LOWORD and HIWORD macros to get these values).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Strange string behavior
    By jcafaro10 in forum C Programming
    Replies: 2
    Last Post: 04-07-2009, 07:38 PM
  2. Global Variables
    By Taka in forum C Programming
    Replies: 34
    Last Post: 11-02-2007, 03:25 AM
  3. Message class ** Need help befor 12am tonight**
    By TransformedBG in forum C++ Programming
    Replies: 1
    Last Post: 11-29-2006, 10:03 PM
  4. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

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