BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Not available BCGSuite (MFC)
Not available BCGControlBar (Microsoft .NET)

Left-side owner-draw logo

You can create menus with your logo, the name of your company or application, etc., placing them on the left-side of the menu-bar.

Also, it's possible to draw popup menu logos at each side: left, right, top or bottom.

Sample code:
BOOL CMainFrame::OnShowPopupMenu (CBCGPPopupMenu* pMenuPopup)
{
...
        pMenuPopup->EnableMenuLogo (30 /* Menu logo width */);
}

void CMainFrame::OnDrawMenuLogo (CDC* pDC, CBCGPPopupMenu* pMenu, const CRect& rectLogo)
{
    ASSERT_VALID (pDC);

    // Todo: draw your own logo inside 'rectLogo' using 'pDC'
}
Prev  Next