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.
Printable View
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.
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.
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?
How do you add such embedded dialogs, using Visual Studio 2005 ? (still building an old MFC app)