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 "FlashWindow" in [All]

user32

.
Summary
.

static extern bool FlashWindow(IntPtr hwnd, bool bInvert);

.

Private Shared Function FlashWindow(hwnd As IntPtr, bInvert As Boolean) As Boolean

.

    private static extern bool FlashWindow(IntPtr hwnd, bool bInvert);

.

    public static void FlashWindow(System.Windows.Forms.Form window)

.

        FlashWindow(window.Handle, false);

.
Documentation
[FlashWindow] on MSDN
.
Summary
.

static extern bool FlashWindowEx(ref FLASHWINFO pwfi);

.

public enum FlashWindow : uint

.

public static bool FlashWindowEx(IntPtr hWnd)

.

    return FlashWindowEx(ref fInfo);

.

public static bool FlashWindowEx(Form frm)

.

        return FlashWindowEx(ref fInfo);

.

Flash Window in Taskbar via Win32 FlashWindowEx:

.

http://pietschsoft.com/post/2009/01/26/CSharp-Flash-Window-in-Taskbar-via-Win32-FlashWindowEx.aspx

.
Documentation
[FlashWindowEx] on MSDN
.

    Private Declare Function FlashWindowEx Lib "User32" (ByVal fwInfo As FLASHWINFO) As Boolean

.

    Public Enum FlashWindowFlags As UInteger

.

    Public dwFlags As FlashWindowFlags

.

    Public Function FlashWindow(ByRef frm As Windows.Forms.Form) As Boolean

.

    Return FlashWindow(frm, True, True, 5)

.

    Public Function FlashWindow(ByRef frm As Windows.Forms.Form, ByVal FlashTitleBar As Boolean, ByVal FlashTray As Boolean) As Boolean

.

    Return FlashWindow(frm, FlashTitleBar, FlashTray, 5)

.

    Public Function FlashWindow(ByRef frm As Windows.Forms.Form, ByVal FlashCount As Integer) As Boolean

.

    Return FlashWindow(frm, True, True, FlashCount)

.

    Public Function FlashWindow(ByRef frm As Windows.Forms.Form, ByVal FlashTitleBar As Boolean, ByVal FlashTray As Boolean, ByVal FlashCount As Integer) As Boolean

.

        If FlashTitleBar Then .dwFlags = .dwFlags Or FlashWindowFlags.FLASHW_CAPTION

.

        If FlashTray Then .dwFlags = .dwFlags Or FlashWindowFlags.FLASHW_TRAY

.

        If FlashCount = 0 Then .dwFlags = .dwFlags Or FlashWindowFlags.FLASHW_TIMERNOFG

.

        Return FlashWindowEx(fwi)


 
Access PInvoke.net directly from VS: