CControlBar::GetDockingFrame
Call this member function to obtain a pointer to the current frame window to which your control bar is docked.
CFrameWnd* GetDockingFrame( ) const;
Возвращаемое значение
A pointer to a frame window if successful; otherwise NULL.
If the control bar is not docked to a frame window (that is, if the control bar is floating), this function will return a pointer to its parent CMiniFrameWnd.
Заметки
For more information about dockable control bars, see CControlBar::EnableDocking and CFrameWnd::DockControlBar.
Требования
Header: afxext.h