We help IT Professionals succeed at work.

CDialogBar control question

jennyhou
jennyhou asked
on
Hi!

I have a question regarding CDialogBar control. I use a new "CMyDialogBar" class derived from CDialogBar class. I will put any child window W1 (for example, it will be created by CreateWindow API)on this docking control. My question is that it is possible to drag the CMyDialogBar by pressing this W1 child window? If it is no problem, could you guys show me how to do it? A piece of codes will be better.

Thanks in advanced.

Jenny    
Comment
Watch Question

Commented:
CMyDialogBar DlgBar;
DlgBar.EnableDocking(pass the required parameters);
((CMainFrame *)DlgBar.GetPArent())->EnableDocking(pass the required parameters);
DlgBar.DockControlBar();

Explore More ContentExplore courses, solutions, and other research materials related to this topic.