BCGControlBar Pro for MFC
void CBCGPToolbarMenuButton::DrawDocumentIcon ( CDC *  pDC,
const CRect &  rectImage,
HICON  hIcon 
)
protected

Draws a document icon.

This function takes a document icon and draws it on the menu button. A popup menu with a list of opened documents is shown when the user presses a special button on MDITabs window which has Visual Studio 2005 style.

Parameters
pDCA pointer to device context.
rectImageImage bounding rectangle.
hIconA handle to icon.