|
-
Feb 23rd, 2006, 06:59 PM
#1
Thread Starter
Fanatic Member
Control the container 'area' of a custom container control
I'm working on a user container control that is collapsable and has a caption bar and takes on a similar appearance as a form. Currently at the control's host's designtime, the area to drop controls into the control is the control's bounds. I want to shrink it so the the border that i'm draing and the caption bar are not obscured by or obscuring the nonclient elements of my control. Basically, I want similar functionality to the tab control (I.E. You can't place child controls over the tab strip at the top). How do I do this? What method do I override or what base method do I call from the SizeChanged event?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|