Partager via


CMFCPopupMenu::GetAnimationType

Returns the current type of pop-up animation.

static CMFCPopupMenu::ANIMATION_TYPE GetAnimationType(
   BOOL bNoSystem = FALSE
);

Parameters

  • [in] bNoSystem
    A Boolean parameter that indicates whether this method checks the global value. FALSE if you want this method to return the animation style for this instance of the CMFCPopupMenu Class.

Return Value

An enumerated value that describes the animation type.

Remarks

The style of animation for pop-up menus is global for your application. Use CMFCPopupMenu::SetAnimationType to set the animation style.

The following table lists the possible animation types.

  • NO_ANIMATION
    The pop-up menu is not animated and appears immediately.

  • UNFOLD
    The framework reveals the pop-up menu from the upper-left corner to the lower right corner.

  • SLIDE
    The pop-up menu moves from top to bottom.

  • FADE
    The pop-up menu first appears transparent and gradually solidifies.

Requirements

Header: afxpopupmenu.h

See Also

Reference

CMFCPopupMenu Class

Hierarchy Chart

CMFCPopupMenu::SetAnimationType