BCGControlBar Pro for MFC
static void CBCGPPopupMenu::SetAnimationType ( CBCGPPopupMenu::ANIMATION_TYPE  type)

Sets the new animation type.

Call this function to set the new animation type for popup menus.

It should be one of the ANIMATION_TYPE enumerated values that describe the animation type:

  • NO_ANIMATION - the menu popup is not animated, use it to disable animation.
  • 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.
  • SYSTEM_DEFAULT_ANIMATION - the popup menu is animated according to OS animation settings.
typeSpecifies the animation type.