Condividi tramite


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;

Return Value

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.

Remarks

For more information about dockable control bars, see CControlBar::EnableDocking and CFrameWnd::DockControlBar.

Requirements

Header: afxext.h

See Also

Reference

CControlBar Class

Hierarchy Chart

CControlBar::EnableDocking

CFrameWnd::DockControlBar

Other Resources

CControlBar Members