By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,674 Members | 1,478 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,674 IT Pros & Developers. It's quick & easy.

Limiting ClientRectangle in UserControl

P: n/a
I have a UserControl which draws using GDI+ on the top 40
pixels or so. Everything below that is available for
users to place other controls on (like buttons, etc.)
What I need to be able to do is lower the ClientRectangle
so that other controls can't draw above the 40 pixel
line. Basically, I want to make x=0, y=40 on the
UserControl look like x=0, y=0 to the client control.

Thanks!
Brian
Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.