Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "AnimateWindow" in [All]

Enums

.
Summary
.

enum AnimateWindowFlags : uint

.

public sealed class AnimateWindowFlags

.

public enum AnimateWindowFlags

.

    Public Enum AnimateWindowFlags

2: SPI
.

      /// For more information, see AnimateWindow.

.

      /// see AnimateWindow.

.

      ///  For more information on slide and fade effects, see AnimateWindow.

.

      /// see the AnimateWindow function.

user32

.
Summary
.

static extern bool AnimateWindow(IntPtr hwnd, int time, AnimateWindowFlags flags);

.

Shared Function AnimateWindow(ByVal hwnd As IntPtr, ByVal time As Integer, ByVal flags As AnimateWindowFlags) As Boolean

.

AnimateWindowFlags should be used for the dwFlags parameter.

.

Don’t forget to use the AnimateWindowFlags!

.

AnimateWindow(f2.Handle, 1000, AnimateWindowFlags.AW_VER_NEGATIVE Or AnimateWindowFlags.AW_SLIDE or AnimateWindowFlags.AW_HIDE)

.

AnimateWindow doesn't actually show the window so make sure you call Show() or set this.Visible = true after calling AnimateWindow

.

This assumes that the AnimateWindow function is declared inside class User32

.

AnimateWindow(f2.Handle, 1000, (uint) AnimateWindowFlags.AW_VER_NEGATIVE | (uint) AnimateWindowFlags.AW_SLIDE);

.

AnimateWindow(f2.Handle, 1000, AnimateWindowFlags.AW_VER_NEGATIVE Or AnimateWindowFlags.AW_SLIDE or AnimateWindowFlags.AW_HIDE)

.
Documentation
[AnimateWindow] on MSDN

 
Access PInvoke.net directly from VS: