Link to home
Start Free TrialLog in
Avatar of reti72
reti72

asked on

floating windows with tab controls

I have to realize a floating window containing a tab control
whose pages only appear by clicking over the tabs and disappear by clicking over a "minimize" button, leaving visible only the tabs.
Could you send me a sample code to realize that?

Many thanks in advance.
Avatar of RONSLOW
RONSLOW

Just use a property sheet and respond to the SetActive message by expanding the page to the full size and respond to the "minimize" button by shrinking the current page.
Avatar of reti72

ASKER

I'd like to use a form view with a tab control, instead of
a property sheet.
This is because I've to perform drag&drop between my form
view and other views in the application (I'm using MDI).
Is it possible to do that with a property sheet?

If you send me some sample code I'll grade your answer 'A'.

Many thanks.
You can easily have a property sheet as a form (I believe) - I'll need to look up some code on exactly how to do it

You originally said you wanted a floating windows, rather than an MDI child?  What is it you really want here?  How do you want your use interface to work?

What are you going to be dragging and dropping?

Avatar of reti72

ASKER

The window I have to do accepts icon's drag&drop from another
view of my application.
I want this window displayed as a tab control with three pages.
In that pages I'd like to put something like CDragListBox to
accept drag&drop.

Many thanks for your time.

ASKER CERTIFIED SOLUTION
Avatar of byang
byang
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