Jump to content
  • Advertisement
Sign in to follow this  
TFS_Waldo

[.net] C# Custom Control Docking Not Correct ...

This topic is 4317 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well, I've been working on a project in C# (VS 2005). I've created a custom control, that I would like docked to the left side of the form. Well, that's no big deal. It looks great, except it pushes the menu strip to the right, and goes all the way up to the bottom of the title bar. How do I dock a control so that it is UNDER the menu strip on a form?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by TFS_Waldo
Well, I've been working on a project in C# (VS 2005). I've created a custom control, that I would like docked to the left side of the form. Well, that's no big deal. It looks great, except it pushes the menu strip to the right, and goes all the way up to the bottom of the title bar.

How do I dock a control so that it is UNDER the menu strip on a form?
Control z-order determines which one gets precedence when docking. I don't remember the exact rules, so try playing around with their z-orders (right-click on a control, send to front/back).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!