Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


c# control creation problem...

This topic is 5308 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

Hi, I''m trying to create a panel control with the ability to automatically include owner-drawn buttons... Just to get the idea: I''m trying to do something simliar to Oulook 2003 Panels (where the owner-drawn buttons are the ones saying: Mail, Calendar, Contacts, etc). To include these buttons I thought of a CollectionBase to represent the button collection, but I''m not sure of how to do it as I need complete control over each button in the panel (change their sizes when the main panel is resized, change their location to make sure they always stick to the ground, etc). Here is the code I''ve made, if you could just have a look (please!), and advise me... I would really appreciate: XPanel.cs XButton.cs Thanks

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!