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

    How to resize a list ctrl box?

    How can the list control box resize upon the resizing of the dialog box


  2. #2
    Join Date
    May 1999
    Posts
    4

    Re: How to resize a list ctrl box?

    m_control_list.SetWindowPos()

    **************************
    * Cao Jiling *
    **************************

  3. #3
    Join Date
    May 1999
    Posts
    22

    Re: How to resize a list ctrl box?

    WINDOWPLCEMENT wn;
    m_ListBox.GetWindowPlacement(&wn);
    wn.rcNormalPosition.left=
    wn.rcNormalPosition.right=
    wn.rcNormalPosition.top=
    wn.rcNormalPosition.bottom=
    m_ListBox.Set WindowPlacement(&wn);

    This works.
    Chow,



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