CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Resize

  1. #1
    Join Date
    Oct 2003
    Posts
    72

    Resize

    Hi guys
    I have this problem

    I have got a project in Visual C++ that graphically consists of a mainframe that includes a toolbar a menu and a dialog box.

    When I resize the window that contains the application I have to "block" the height and the width at a determinated dimension.For example the height cannot be < 100 and so the window when the resize achieves this dimension can not be minimized further.

    Which function could help me?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: Resize

    Have a look at CWnd::OnGetMinMaxInfo and WM_GETMINMAXINFO message.

  3. #3
    Join Date
    Jun 2005
    Posts
    21

    Re: Resize

    From my point of view use WM_GETMINMAXINFO()
    message.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured