BCGControlBar Pro for MFC
virtual HICON CBCGPMDIChildWnd::GetFrameIcon ( ) const
virtual

Called by the framework to retrieve the window icon.

Returns
A handle to the window icon.

This function is called by the framework when it needs to determine what icon to display on the MDI tab that contains the MDI child frame window.

By default this function returns the window icon. Override GetFrameIcon in a CBCGPMDIChildWnd - derived class to customize this behavior.