Thread: minimize and maximize

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    44

    minimize and maximize

    There's probably an easy answer to this question, but I sure couldn't find it after wasting a good amount of time on msdn.

    How do you minimize and maximize windows?

    Something simple? Like MaximizeWindow(FindWindow(NULL, "WindowTitle"))?

    Edit: Forgot the NULL in FindWindow.
    Last edited by Wick; 08-20-2003 at 10:12 PM.
    Check out all my dimensions:
    Height, width, and for a limited time only... Depth!
    -sb

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    ShowWindow ( hWindowHandle, SW_MINIMIZE);
    ShowWindow ( hWindowHandle, SW_MAXIMIZE);

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    44
    You know, I finally found that just before I checked back and saw your post. Thanks anyways!
    Check out all my dimensions:
    Height, width, and for a limited time only... Depth!
    -sb

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Maximize All...
    By Geolingo in forum Tech Board
    Replies: 2
    Last Post: 09-01-2003, 07:05 PM
  2. no maximize for the window
    By stallion in forum Windows Programming
    Replies: 3
    Last Post: 02-03-2003, 03:48 PM
  3. Maximize
    By Magos in forum Windows Programming
    Replies: 4
    Last Post: 10-03-2002, 02:24 AM
  4. Minimize, Maximize and Close button
    By Alextrons in forum Windows Programming
    Replies: 2
    Last Post: 01-10-2002, 10:04 PM