CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2008
    Posts
    47

    Smile groupbox with buttons and scrollbar in MFC

    Hi,
    I need to add many buttons to groupbox and it should get the scrollbar if the buttons dont fix in to the groupbox. In .NET we can do it through Panel control. But please tell me how to do it in MFC.

  2. #2
    Join Date
    Jun 2008
    Location
    Blagoevgrad, Bulgaria
    Posts
    17

    Re: groupbox with buttons and scrollbar in MFC

    I think groupbox doesn't have scroll capabilities in MFC. If it's helpful - you can use another dialog with a scrollbar instead of groupbox.

  3. #3
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: groupbox with buttons and scrollbar in MFC

    You can use a groupbox which contains a child dialog with the scrollbar and buttons.

    Btw, how many buttons are you thinking of creating? What is the layout of the buttons?

  4. #4
    Join Date
    May 2010
    Posts
    1

    Re: groupbox with buttons and scrollbar in MFC

    How do you add such embedded dialogs, using Visual Studio 2005 ? (still building an old MFC app)

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