Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Task Panel
  New Posts New Posts RSS Feed - group margins
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

group margins

 Post Reply Post Reply
Author
Message
playertwo View Drop Down
Newbie
Newbie
Avatar

Joined: 22 December 2006
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote playertwo Quote  Post ReplyReply Direct Link To This Post Topic: group margins
    Posted: 22 December 2006 at 11:59am
I have a Task Panel using the toolbox style. I have added a tree control as a control item to a task panel group. This works fine except that I want the tree control to take up the entire group area. As it is now, there are margins around the tree control, and, while the width of the tree control is always stretched to take up most of the group space, the height remains fixed at whatever I create. How can I make the tree control (or any control) take up the entire group area?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2006 at 3:07pm
Hi, you have to set bAutoHeight to true for item:
 
CXTPTaskPanelGroupItem::SetSize(CSize szItem, BOOL bAutoHeight)

 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.