C# Class Gwupe.Agent.FlashWindowHelper

Show file Open project: gwupe/Gwupe

Private Properties

Property Type Description
CreateFlashInfoStruct FLASHWINFO
FlashWindowEx bool
InitializeHandle void

Public Methods

Method Description
Flash ( IntPtr hwnd ) : bool

Flash the spacified Window (Form) until it recieves focus.

Flash ( IntPtr hwnd, uint count ) : bool

Flash the specified Window (form) for the specified number of times

FlashApplicationWindow ( ) : void
FlashWindowHelper ( Application app ) : System
StopFlashing ( ) : void

Private Methods

Method Description
CreateFlashInfoStruct ( IntPtr handle, uint flags, uint count, uint timeout ) : FLASHWINFO
FlashWindowEx ( FLASHWINFO &pwfi ) : bool
InitializeHandle ( ) : void

Method Details

Flash() public static method

Flash the spacified Window (Form) until it recieves focus.
public static Flash ( IntPtr hwnd ) : bool
hwnd System.IntPtr
return bool

Flash() public static method

Flash the specified Window (form) for the specified number of times
public static Flash ( IntPtr hwnd, uint count ) : bool
hwnd System.IntPtr The handle of the Window to Flash.
count uint The number of times to Flash.
return bool

FlashApplicationWindow() public method

public FlashApplicationWindow ( ) : void
return void

FlashWindowHelper() public method

public FlashWindowHelper ( Application app ) : System
app System.Windows.Application
return System

StopFlashing() public method

public StopFlashing ( ) : void
return void