C# 클래스 LoveBoot.WindowFinder

파일 보기 프로젝트 열기: AlbinoDrought/LoveBoot 1 사용 예제들

공개 메소드들

메소드 설명
GetClientWindowLocation ( System.Drawing.Rect r = newRect() ) : System.Drawing.Rect
GetEstimatedTitlebarLocation ( ) : System.Drawing.Rect
GetScreenshot ( bool crop = false, Rectangle cropRectangle = newRectangle() ) : Bitmap
GetWindowLocation ( System.Drawing.Rect r = newRect() ) : System.Drawing.Rect
IsWindowActive ( ) : bool
SendKeystroke ( ushort k, int sleep ) : void
SetProcess ( string _processName ) : bool

비공개 메소드들

메소드 설명
FindWindow ( string strClassName, string strWindowName ) : IntPtr
GetClientRect ( IntPtr hWnd, System.Drawing.Rect &lpRect ) : bool
GetForegroundWindow ( ) : IntPtr
GetWindowRect ( IntPtr hwnd, System.Drawing.Rect &rectangle ) : bool
PostMessage ( IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
PrintWindow ( IntPtr hWnd, IntPtr hdcBlt, int nFlags ) : bool
SendMessage ( IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
getProcess ( string _processName ) : Process

메소드 상세

GetClientWindowLocation() 공개 메소드

public GetClientWindowLocation ( System.Drawing.Rect r = newRect() ) : System.Drawing.Rect
r System.Drawing.Rect
리턴 System.Drawing.Rect

GetEstimatedTitlebarLocation() 공개 메소드

public GetEstimatedTitlebarLocation ( ) : System.Drawing.Rect
리턴 System.Drawing.Rect

GetScreenshot() 공개 메소드

public GetScreenshot ( bool crop = false, Rectangle cropRectangle = newRectangle() ) : Bitmap
crop bool
cropRectangle System.Drawing.Rectangle
리턴 System.Drawing.Bitmap

GetWindowLocation() 공개 메소드

public GetWindowLocation ( System.Drawing.Rect r = newRect() ) : System.Drawing.Rect
r System.Drawing.Rect
리턴 System.Drawing.Rect

IsWindowActive() 공개 메소드

public IsWindowActive ( ) : bool
리턴 bool

SendKeystroke() 공개 메소드

public SendKeystroke ( ushort k, int sleep ) : void
k ushort
sleep int
리턴 void

SetProcess() 공개 메소드

public SetProcess ( string _processName ) : bool
_processName string
리턴 bool