Thread: maximize

  1. #1
    Registered User xlnk's Avatar
    Join Date
    Mar 2002
    Posts
    186

    Question maximize

    I'm new to windows programming, and I was wondering how can you disable the window maximize button in the top right-hand corner of the window?
    the best things in life are simple.

  2. #2
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    This has been asked before so why not use the search button??? Anyways one solution to this is to use the params WS_OVERLAPPED and WS_SYSMENU this will get rid of all the buttons except for the close button.
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  3. #3
    Registered User xlnk's Avatar
    Join Date
    Mar 2002
    Posts
    186
    sorry, next time ill do a search. Thanks, though, i got it!
    the best things in life are simple.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Maximize button notification
    By mrafcho001 in forum Windows Programming
    Replies: 2
    Last Post: 12-26-2005, 10:31 PM
  2. Maximize All...
    By Geolingo in forum Tech Board
    Replies: 2
    Last Post: 09-01-2003, 07:05 PM
  3. Maximize
    By Magos in forum Windows Programming
    Replies: 4
    Last Post: 10-03-2002, 02:24 AM
  4. Stop window from being able to maximize
    By pinkcheese in forum Windows Programming
    Replies: 9
    Last Post: 07-12-2002, 03:09 PM
  5. Disabling maximize button and movable border
    By Garfield in forum Windows Programming
    Replies: 6
    Last Post: 01-26-2002, 02:21 PM