BCGControlBar Pro for MFC
virtual void CBCGPCaptionBar::OnDrawImage ( CDC *  pDC,
CRect  rect 
)
protectedvirtual

Called by the framework to display an image on the caption bar.

Override this member function in a CBCGPCaptionBar - derived class to customize the image appearance. The image is set either by SetIcon() or SetBitmap().

Parameters
pDCA pointer to a device context used to display the image.
rectSpecifies the bounding rectangle of the image.