My tile editor tile selection tab control is a CTileSheet object. This means the dialog is always top level and cannot be docked into or to the side of any other window.
I would like to change this. I have a class derived from CDialogBar called CMyDialogBar which adds some docking functionality that eases the pain of docking CDialog objects. Here is my setup:
CDialog
- CDockDialog
CDialogBar
- CMyDialogBar
CDockDialog can dock in CMyDialogBar. I want to convert my CTileSheet object and it's CPropertyPages into CDockDialog objects. My problem is this. If I create a new CMyDialogBar object this will create another docking area. I'm not sure what will happen if I try to dock this in an existing CMyDialogBar.
Is there any way to create my dialog without also creating another dialog bar?
This might be poorly worded but it's hard to explain because it's complex.