C# Class Feedling.Classes.NativeMethods

显示文件 Open project: growse/Feedling

Public Methods

Method Description
GetWindowLongPtr ( IntPtr hWnd, int nIndex ) : IntPtr
HideFromAltTab ( Window window ) : void
MakeWindowMovable ( Window window ) : void
SendWpfWindowBack ( Window window ) : void
SetParentWindowToDesktop ( Window window ) : void
SetWindowLongPtr ( IntPtr hWnd, int nIndex, IntPtr dwNewLong ) : IntPtr

Private Methods

Method Description
FindWindow ( string lpClassName, string lpWindowName ) : IntPtr
FindWindowEx ( IntPtr parentHandle, IntPtr childAfter, string className, IntPtr windowTitle ) : IntPtr
FindWindowEx ( IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow ) : IntPtr
GetWindowLongPtr32 ( IntPtr hWnd, int nIndex ) : IntPtr
GetWindowLongPtr64 ( IntPtr hWnd, int nIndex ) : IntPtr
NativeMethods ( ) : System
ReleaseCapture ( ) : bool
SendMessage ( IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam ) : IntPtr
SetWindowLong32 ( IntPtr hWnd, int nIndex, int dwNewLong ) : int
SetWindowLongPtr64 ( IntPtr hWnd, int nIndex, IntPtr dwNewLong ) : IntPtr
SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, uint uFlags ) : bool

Method Details

GetWindowLongPtr() public static method

public static GetWindowLongPtr ( IntPtr hWnd, int nIndex ) : IntPtr
hWnd System.IntPtr
nIndex int
return System.IntPtr

HideFromAltTab() public static method

public static HideFromAltTab ( Window window ) : void
window System.Windows.Window
return void

MakeWindowMovable() public static method

public static MakeWindowMovable ( Window window ) : void
window System.Windows.Window
return void

SendWpfWindowBack() public static method

public static SendWpfWindowBack ( Window window ) : void
window System.Windows.Window
return void

SetParentWindowToDesktop() public static method

public static SetParentWindowToDesktop ( Window window ) : void
window System.Windows.Window
return void

SetWindowLongPtr() public static method

public static SetWindowLongPtr ( IntPtr hWnd, int nIndex, IntPtr dwNewLong ) : IntPtr
hWnd System.IntPtr
nIndex int
dwNewLong System.IntPtr
return System.IntPtr