Hi !

I use a CFrameWnd as the main-window and now I want to have a toolwindow (like the ones you have, when you float a docked controlbar). The toolwindow owns the styles WS_POPUP, WS_EX_TOOLWINDOW and some others and is a child of the frame.

The problem:
When activating the toolwindow, the frame is deactivated.
When activating the frame, the toolwindow is deactivated.

Of cource, I want that both, frame and toolwindow, are activated (this is the caption is blue) and deactivated (this is the caption is gray) at the same time.

How can I do this ?

Regards

Martin