Thread: The Size Off the window

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    88

    The Size Off the window

    How can i make my window

    that the user cant change the window size?

    (win32)

  2. #2
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    339
    Go down to your function CreateWindow()/CreateWindowEx()
    and you probably have a style WS_OVERLAPPEDWINDOW, delete that and add WS_SYSMENU | WS_MINIMIZEBOX | WS_BORDER

    Look up on msdn if you need any other window needs, but that should stop your window being resized.

    Hope that helps,
    TNT
    TNT
    You Can Stop Me, But You Cant Stop Us All

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    88
    thanx a lot

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C or C++
    By AcerN30 in forum Game Programming
    Replies: 41
    Last Post: 05-30-2008, 06:57 PM
  2. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 08:14 AM
  3. Why only 32x32? (OpenGL) [Please help]
    By Queatrix in forum Game Programming
    Replies: 2
    Last Post: 01-23-2006, 02:39 PM
  4. Adding colour & bmps to a Win 32 Window??
    By carey_sizer in forum Windows Programming
    Replies: 4
    Last Post: 09-04-2004, 05:55 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM