C# 클래스 GW2PAO.Utility.User32

User32 utility classes
파일 보기 프로젝트 열기: SamHurne/gw2pao

공개 메소드들

메소드 설명
HideFromTaskbar ( System window ) : void

Hides the provided window from the taskbar

SetNoActivate ( System window, bool noActivate ) : void

Sets the NoActivate attribute for the given wpf window, preventing the system from bringing the window to the foreground when clicked - particularly useful for prevent the taskbar from appearing

SetTopMost ( System window, bool topMost ) : void

Sets the given WPF window as topmost or not topmost using a user32 pinvoke call

SetWindowExTransparent ( System window, bool isTransparent ) : void

Sets the given WPF window as "transparent", which allows the mouse to "click-through" the window

비공개 메소드들

메소드 설명
GetWindowLong ( IntPtr hwnd, int index ) : int
SetWindowLong ( IntPtr hwnd, int index, int newStyle ) : int
SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags ) : bool

메소드 상세

HideFromTaskbar() 공개 정적인 메소드

Hides the provided window from the taskbar
public static HideFromTaskbar ( System window ) : void
window System The window to hide from the taskbar
리턴 void

SetNoActivate() 공개 정적인 메소드

Sets the NoActivate attribute for the given wpf window, preventing the system from bringing the window to the foreground when clicked - particularly useful for prevent the taskbar from appearing
public static SetNoActivate ( System window, bool noActivate ) : void
window System The window to set NoActivate on
noActivate bool True if NoActivate should be set, false to remove the NoActivate property
리턴 void

SetTopMost() 공개 정적인 메소드

Sets the given WPF window as topmost or not topmost using a user32 pinvoke call
public static SetTopMost ( System window, bool topMost ) : void
window System The window to set as topmost
topMost bool True to set window as topmost, false to remove topmost property
리턴 void

SetWindowExTransparent() 공개 정적인 메소드

Sets the given WPF window as "transparent", which allows the mouse to "click-through" the window
public static SetWindowExTransparent ( System window, bool isTransparent ) : void
window System
isTransparent bool
리턴 void