Toll Free: (877) 723-1442 U.S. and Canada
Support
ActiveX / COM
Visual C++ / MFC
Customer Spotlight
Corporate Partners
Contact Sales

Call center available M-F 9:00 - 6:00 US Eastern Time.

U.S. and Canada
(877) 723-1442

International
(517) 625-5729

Email

Changing Popup Menu Animation Style

Author: Mike Palmatier
Posted: January 31, 2006
Environment: Visual Basic 6.0

You can configure how your menus will be displayed using animation effects. You can choose from one of several predefined effects that include Random, Unfold, Slide, Fade and None.

The code below will apply the Unfold animation the the menus when they are displayed. The xtpAnimateUnfold flag comes from the XTPAnimationType enumeration which holds all of the different animation types that can be used.

     CommandBars.Options.Animation = xtpAnimateUnfold



Below are some animations that illustrate some of the styles that you can use for your popup menus:

Unfold Animation



Slide Animation



Fade Animation

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Other products and/or company names may be trademarks or registered trademarks of their respective owners.