CMFCPopupMenu::EnableMenuLogo

 

Initializes the logo for a pop-up menu.

Syntax

void EnableMenuLogo(
   int iLogoSize,
   LOGO_LOCATION nLogoLocation = MENU_LOGO_LEFT
);

Parameters

  • [in] iLogoSize
    The size of the logo, in pixels.

  • [in] nLogoLocation
    An enumerated data type that indicates the location of the logo.

Remarks

To display the logo, implement the method CFrameWndEx::OnDrawMenuLogo in the main frame window.

The possible values for nLogoLocation are MENU_LOGO_LEFT, MENU_LOGO_RIGHT, MENU_LOGO_TOP, and MENU_LOGO_BOTTOM.

Requirements

Header: afxpopupmenu.h

See Also

CMFCPopupMenu Class
Hierarchy Chart
CFrameWndEx::OnDrawMenuLogo