Partager via


CMFCPopupMenu::SetForceShadow

Forces the framework to draw menu shadows when pop-up menus appear outside the main frame.

static void SetForceShadow(
   BOOL bValue 
);

Parameters

  • [in] bValue
    TRUE if you want the framework to draw menu shadows, FALSE otherwise.

Remarks

When you call this method, it sets a global flag in your application. This flag affects all pop-up menus in your application.

Requirements

Header: afxpopupmenu.h

See Also

Reference

CMFCPopupMenu Class

Hierarchy Chart