Thread: prevent sizing the window

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    173

    prevent sizing the window

    Hi,

    how can I previous user to reize the window, let's say if I want the client window minimum size 100*50, user can't resize less than that?
    I tried SetWindowPos(), but couldn't make it, and also it may cause window flicking, how can I do it?

    Thanx
    Don't laugh at me,I am just a SuperNewbie.

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    WM_GETMINMAXINFO
    Last edited by anonytmouse; 06-03-2004 at 03:22 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 08:23 AM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  3. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  4. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  5. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 10:14 PM