prevent sizing the window

This is a discussion on prevent sizing the window within the Windows Programming forums, part of the Platform Specific Boards category; Hi, how can I previous user to reize the window, let's say if I want the client window minimum size ...

  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 04: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, 09: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, 11:17 AM
  4. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM
  5. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 11:14 PM

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