|
-
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?
-
May 11th, 2021, 02:19 AM
#2
New Member
Re: Control the container 'area' of a custom container control
Hi Were you able to get a solution for this?
-
May 11th, 2021, 03:16 AM
#3
Re: Control the container 'area' of a custom container control
the post is 15 years old and the OP didn't post anything since 2011... I have some doubt about getting any answer
The best friend of any programmer is a search engine 
"Don't wish it was easier, wish you were better. Don't wish for less problems, wish for more skills. Don't wish for less challenges, wish for more wisdom" (J. Rohn)
“They did not know it was impossible so they did it” (Mark Twain)
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
|