Expander Control (from TaskVision)

Hi,

I downloaded the TaskVision Source, to reuse the Expander Control.. I modified the buttons to collapse/expand the control as they were a little to low compare to the header bar, but now, I want to improve the collapse/expand behaviour. I want it to progressively expand/collapse the control. Actually, it only shows/hides directly the control. I want a beautiful progressive sliding effect, with a reduction of the alpha transparency, just as the real expander control used in the Control Panel of Windows XP..

How can I do that ? I am new to .NET as I come from the Borland Delphi World :)
And Sorry for my poor english (i'm french)

Thanks in advance

Artichaut

[678 byte] By [codefund.com] at [2007-12-16]
# 1
The Windows <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/animatewindow.asp">AnimateWindow</a> method is probably what you are looking for to provide the scrolling effect. You will need to P/Invoke this but it shouldn't be too tough.

- mike

codefund.com at 2007-9-8 > top of Msdn Tech,Windows Forms,Windows Forms Designer...