Skip to main content
gamedev.net
🔒 Locked

c# control creation problem...

Started by xyz Jan 4, 2004 at 7:17 AM 0 replies 350+ views
Original Post
xyz
xyz
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.