Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Multiple Cwnds to be integrated to one dockable frame Collapse All
Subject Author Date
SANKET DAS Jul 4, 2007 - 8:26 AM

I need to make a window dockable. But the class I am using is inherited from CWnd rather than CFrameWnd. It has a good amount of code so changing CWnd to CFrameWnd may cause some problem.Is there any other option to use the dockable feature in the CWnd class?

I have three windows (all are inherited from CWnd class). I have to make them in a single dockable window. How can it be possible?

These three bins are to be framed into one dockable frame. We need to do that urgently>>

Technical Support Jul 4, 2007 - 10:37 AM

You have to use a CFrameWnd window if you want you windows to be dockable and it is essential. However it does not mean you should replace your CWnd base class with CFrameWnd class. We guess you have a CWnd-based class which implements a popup window similar to the main frame window or the main dialog window. You can create a new CFrameWnd-based popup window with control bars and create your previous CWnd-based window as child view windows inside the new frame window. Some child windows can be created inside resizable control bars of the new main frame window. This is the easiest way as far as we can see.