Link to home
Start Free TrialLog in
Avatar of wsprhino
wsprhino

asked on

Can I create expandable regions on a control?

Can I create expandable regions on a UserControl or Form like Resource Monitor(Windows Task Manager-> Performance Tab->Click Resource Monitor button)  uses in Vista?

So, e.g. I could create a series of panels with different controls but be able to hide a panel and its contents and the size of the UserControl or Form adjusts to the size of the contents on display.

Using WPF something like can be achieved using the Expandable Region content but my app is written using GDI+ and I don't really want to convert it.
ASKER CERTIFIED SOLUTION
Avatar of jgordos
jgordos
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wsprhino
wsprhino

ASKER


If I had 3 or 4 of these panels one below the other : does that mean I would have to recalculate the height of the form as each panel is collapsed or expanded and dock each panel onto the one above it or just reset it's location?