|
|
Auto Hide control
It sports a panel located on the left side of your application frame. When you click or hover above one of the text items, a new view window will slide out and allow you to click around. When the view window looses focus, it slides back. I'm not really sure how useful a control like this is in a real application (erh, other than and IDE). It seems pretty annoying and there's no way of getting rid of that blasted sliding window effect. Well, use it if you like it... To add the Auto Hide control to your frame window, add this...
Create the control window after the MDI client has been
created and set, like this:
Then create the views and add them to the control
using the AddWindow() method.
The Auto Hide panel, which hosts the views is currently a bit of a hack. It's a regular window with a resizing frame, but all edges except the one on the right are disabled and rendered grey.
The slide animation looks crap I think. Must be something to do with
the Source Code DependenciesMicrosoft WTL 3.0 LibrarySee AlsoSample WTL applicationDownload Files
Written by Bjarke Viksoe. Article submitted 6/7/2001.
|
|||