i used this code Dock Dialog. but the prob is... My dialog is in CDialog and CDialog has Not properly Created Using CDialogBar. so plz help me.
i just think to build our custom DockingPane and CommandBar. but i hv no idea about that.
What I have tried:
CDialogBar m_wndToolBarGeometry;
m_wndToolBarGeometry.EnableDocking(CBRS_ALIGN_ANY);
m_wndDlgBarObject.EnableDocking(CBRS_ALIGN_LEFT | CBRS_ALIGN_RIGHT);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndDlgBarObject);
DockControlBar(&m_wndToolBarGeometry);
You need to build classes with the needed gui and than write docking oce, which moves the controls.
Maybe the
CDockablePane article
is helping you.
Read the question carefully.
Understand that English isn't everyone's first language so be lenient of bad
spelling and grammar.
If a question is poorly phrased then either ask for clarification, ignore it, or
edit the question
and fix the problem. Insults are not welcome.
Don't tell someone to read the manual. Chances are they have and don't get it.
Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.