BCGControlBar Pro for MFC
virtual CBCGPMiniFrameWnd* CBCGPBaseControlBar::GetParentMiniFrame ( BOOL  bNoAssert = FALSE) const
virtual

Returns a pointer to the parent mini-frame window.

Returns
A valid pointer to the parent mini-frame window if the control bar is floating; otherwise 0;

Call this function to retrieve a pointer to the parent mini-frame window. The function iterates through all parents and checks for a CBCGPMiniFrameWnd - derived object.

You can use GetParentMiniFrame to determine whether the control bar is floating or not.

Parameters
bNoAssertSpecifies whether to check for non-valid pointers. Should be TRUE if this function is called during application shutdown.