开发者

Create dynamically expandable Goupbox in MFC and place the controls with in it

开发者 https://www.devze.com 2023-02-09 10:17 出处:网络
I want to create 2 Groupboxes placed one below another in dialog and place some control items with in both Grou开发者_开发百科pboxes. The number of controls with in the Group boxes decided on run time

I want to create 2 Groupboxes placed one below another in dialog and place some control items with in both Grou开发者_开发百科pboxes. The number of controls with in the Group boxes decided on run time.

The Groupbox size should be fit to the number of controls with in it and second Groupbox should be next to first Groupbox.


Create the groupbox dynamically - at run time . This http://www.tech-archive.net/Archive/VC/microsoft.public.vc.mfc/2004-07/2144.html might be helpful and add the controls during runtime, making the group box the parent window .

0

精彩评论

暂无评论...
验证码 换一张
取 消