C# 클래스 GR.Win32.Window

파일 보기 프로젝트 열기: alexhanh/Botting-Library 1 사용 예제들

공개 메소드들

메소드 설명
AttachToCorner ( ScreenCorner corner ) : void

This method tries to set the position of the window so that it's fully visible but one of it's corners is attached to given parameter.

Capture ( ) : Bitmap
Capture ( Rectangle rect ) : Bitmap
CaptureScreen ( IntPtr hwnd, Rectangle rect ) : Bitmap
CaptureScreenNew ( IntPtr hwnd ) : Bitmap
ChildWindowFromPoint ( Point point, string class_name, Window begin_with ) : Window
Equals ( object obj ) : bool
FindChildWindow ( string text_begin ) : Window
FindChildWindow ( string class_name, string text_begin, Window begin_with ) : Window

Pass empty string to class_name to match all. Pass empty string to text_begin to match all. Pass null to begin_with to skip.

FindWindow ( string title_begin ) : Window
FindWindows ( string title_begin ) : GR.Win32.Window[]
Focus ( ) : void
ForegroundWindow ( ) : Window
GetHashCode ( ) : int
GetOpenWindowFromProcessID ( int process_id, string title_begins, string &matched_title ) : Window
GetOpenWindowsFromPID ( int processID ) : string>.IDictionary
GetOpenWindowsFromProcessID ( int process_id, string title_begins ) : List
GetOpenWindowsFromProcessID ( int process_id, string title_begins ) : GR.Win32.Window[]
GetText ( ) : string
GetWindowRect ( IntPtr hwnd ) : Rectangle
GetWindowText ( IntPtr hwnd ) : string
Hide ( ) : void
IsMinimized ( ) : bool
MakeVisible ( ) : void
Minimize ( ) : void
Resize ( Size size ) : void
Restore ( ) : void
SetForeground ( ) : void
SetPosition ( Point position ) : void
Window ( IntPtr window_handle ) : System

비공개 메소드들

메소드 설명
EnumCallback ( IntPtr hwnd, int lParam ) : bool

메소드 상세

AttachToCorner() 공개 메소드

This method tries to set the position of the window so that it's fully visible but one of it's corners is attached to given parameter.
public AttachToCorner ( ScreenCorner corner ) : void
corner ScreenCorner
리턴 void

Capture() 공개 메소드

public Capture ( ) : Bitmap
리턴 System.Drawing.Bitmap

Capture() 공개 메소드

public Capture ( Rectangle rect ) : Bitmap
rect System.Drawing.Rectangle
리턴 System.Drawing.Bitmap

CaptureScreen() 공개 정적인 메소드

public static CaptureScreen ( IntPtr hwnd, Rectangle rect ) : Bitmap
hwnd System.IntPtr
rect System.Drawing.Rectangle
리턴 System.Drawing.Bitmap

CaptureScreenNew() 공개 정적인 메소드

public static CaptureScreenNew ( IntPtr hwnd ) : Bitmap
hwnd System.IntPtr
리턴 System.Drawing.Bitmap

ChildWindowFromPoint() 공개 메소드

public ChildWindowFromPoint ( Point point, string class_name, Window begin_with ) : Window
point Point
class_name string
begin_with Window
리턴 Window

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

FindChildWindow() 공개 메소드

public FindChildWindow ( string text_begin ) : Window
text_begin string
리턴 Window

FindChildWindow() 공개 메소드

Pass empty string to class_name to match all. Pass empty string to text_begin to match all. Pass null to begin_with to skip.
public FindChildWindow ( string class_name, string text_begin, Window begin_with ) : Window
class_name string
text_begin string
begin_with Window
리턴 Window

FindWindow() 공개 정적인 메소드

public static FindWindow ( string title_begin ) : Window
title_begin string
리턴 Window

FindWindows() 공개 정적인 메소드

public static FindWindows ( string title_begin ) : GR.Win32.Window[]
title_begin string
리턴 GR.Win32.Window[]

Focus() 공개 메소드

public Focus ( ) : void
리턴 void

ForegroundWindow() 공개 정적인 메소드

public static ForegroundWindow ( ) : Window
리턴 Window

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetOpenWindowFromProcessID() 공개 정적인 메소드

public static GetOpenWindowFromProcessID ( int process_id, string title_begins, string &matched_title ) : Window
process_id int
title_begins string
matched_title string
리턴 Window

GetOpenWindowsFromPID() 공개 정적인 메소드

public static GetOpenWindowsFromPID ( int processID ) : string>.IDictionary
processID int
리턴 string>.IDictionary

GetOpenWindowsFromProcessID() 공개 정적인 메소드

public static GetOpenWindowsFromProcessID ( int process_id, string title_begins ) : List
process_id int
title_begins string
리턴 List

GetOpenWindowsFromProcessID() 공개 정적인 메소드

public static GetOpenWindowsFromProcessID ( int process_id, string title_begins ) : GR.Win32.Window[]
process_id int
title_begins string
리턴 GR.Win32.Window[]

GetText() 공개 메소드

public GetText ( ) : string
리턴 string

GetWindowRect() 공개 정적인 메소드

public static GetWindowRect ( IntPtr hwnd ) : Rectangle
hwnd System.IntPtr
리턴 System.Drawing.Rectangle

GetWindowText() 공개 정적인 메소드

public static GetWindowText ( IntPtr hwnd ) : string
hwnd System.IntPtr
리턴 string

Hide() 공개 메소드

public Hide ( ) : void
리턴 void

IsMinimized() 공개 메소드

public IsMinimized ( ) : bool
리턴 bool

MakeVisible() 공개 메소드

public MakeVisible ( ) : void
리턴 void

Minimize() 공개 메소드

public Minimize ( ) : void
리턴 void

Resize() 공개 메소드

public Resize ( Size size ) : void
size System.Drawing.Size
리턴 void

Restore() 공개 메소드

public Restore ( ) : void
리턴 void

SetForeground() 공개 메소드

public SetForeground ( ) : void
리턴 void

SetPosition() 공개 메소드

public SetPosition ( Point position ) : void
position Point
리턴 void

Window() 공개 메소드

public Window ( IntPtr window_handle ) : System
window_handle System.IntPtr
리턴 System