BCGControlBar Pro for MFC
static CBCGPPopupMenu::ANIMATION_TYPE CBCGPPopupMenu::GetAnimationType ( BOOL  bNoSystem = FALSE)
inlinestatic

Returns the current type of popup menu animation.

Returns
One of the ANIMATION_TYPE enumerated values that describes the animation type:
  • NO_ANIMATION - the menu popup is not animated
  • UNFOLD - the popup menu box is revealed from its top-left to right-bottom corner.
  • SLIDE - the popup menu box moves smoothly from top to bottom.
  • FADE - the popup menu box appears gradually.

Use this function to retrieve the current animation type. The animation type value is global. You can call SetAnimationType() to set the animation type for all popup menus in the application.