Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to DesktopWindow class.
DesktopWindow.WinAnimateWindowMBS(Flags as integer, Time as integer=200) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 21.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
There are four types of animation: roll, slide, collapse or expand, and alpha-blended fade.
self: The window to animate. The calling thread must own this window.
Time: Specifies how long it takes to play the animation, in milliseconds. Typically, an animation takes 200 milliseconds to play.
Flags: Specifies the type of animation. This parameter can be one or more of the following values. Note that, by default, these flags take effect when showing a window. To take effect when hiding a window, use AW_HIDE and a bitwiseor operator with the appropriate flags.
AW_SLIDE | = &h040000 | Uses slide animation. By default, roll animation is used. This flag is ignored when used with AW_CENTER. |
AW_ACTIVATE | = &h020000 | Activates the window. Do not use this value with AW_HIDE. |
AW_BLEND | = &h080000 | Uses a fade effect. This flag can be used only if hwnd is a top-level window. |
AW_HIDE | = &h010000 | Hides the window. By default, the window is shown. |
AW_CENTER | = &h10 | Makes the window appear to collapse inward if AW_HIDE is used or expand outward if the AW_HIDE is not used. The various direction flags have no effect. |
AW_HOR_POSITIVE | = 1 | Animates the window from left to right. This flag can be used with roll or slide animation. It is ignored when used with AW_CENTER or AW_BLEND. |
AW_HOR_NEGATIVE | = 2 | Animates the window from right to left. This flag can be used with roll or slide animation. It is ignored when used with AW_CENTER or AW_BLEND. |
AW_VER_POSITIVE | = 4 | Animates the window from top to bottom. This flag can be used with roll or slide animation. It is ignored when used with AW_CENTER or AW_BLEND. |
AW_VER_NEGATIVE | = 8 | Animates the window from bottom to top. This flag can be used with roll or slide animation. It is ignored when used with AW_CENTER or AW_BLEND. |
The items on this page are in the following plugins: MBS Win Plugin.