BCGControlBar Pro for MFC
virtual CBCGPMiniFrameWnd* CBCGPControlBar::CreateDefaultMiniframe ( CRect  rectInitial)
virtual

Creates a mini-frame window for a control bar when it's being floated.

Returns
A pointer to the newly created mini-frame window.

This function is called by the framework to create a mini-frame window when a control bar is being floated. The created mini-frame may be of type either CBCGPMiniFrameWnd or CBCGPMultiMiniFrameWnd. A multi miniframe window is created if the control bar has CBRS_FLOAT_MULTI style.

The runtime class of the mini-frame to create is stored in the CBCGPControlBar::m_pMiniFrameRTC member. You can set this member in a derived class. In this way you will be able to customize mini-frame objects.

Parameters
rectInitialSpecifies the initial size and position (in screen coordinates) of the mini-frame window.

Reimplemented from CBCGPBaseControlBar.