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

Thread: Dialog sizing

  1. #1
    Join Date
    Oct 1999
    Location
    Switzerland
    Posts
    32

    Dialog sizing

    Hi !

    Is it possible^, for a resizeable Dialog, to fix the minimal size of this Dialog ? How ?

    Thanks for your help

    Jed


  2. #2
    Join Date
    Oct 1999
    Location
    Colorado
    Posts
    24

    Re: Dialog sizing

    Yes, respond to a WM_GETMINMAXINFO:

    void CYourDialog::OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI)
    {
    lpMMI -> ptMinTrackSize.x = TheMinSizeInX;
    lpMMI -> ptMinTrackSize.y = TheMinSizeInY;
    }


    -- Dominic

  3. #3
    Join Date
    Oct 1999
    Location
    Switzerland
    Posts
    32

    Re: Dialog sizing

    Thanks a lot for your quick help

    Jed


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