minimize and maximize

This is a discussion on minimize and maximize within the Windows Programming forums, part of the Platform Specific Boards category; There's probably an easy answer to this question, but I sure couldn't find it after wasting a good amount of ...

  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 DeepBlackMagic 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, 02: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, 09:04 PM

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