C# 클래스 Yodiwo.Tools.WindowsNative

파일 보기 프로젝트 열기: yodiwo/plegma

공개 메소드들

메소드 설명
CreateShortcut ( string targetPath, string shortcutPath ) : void
GetMousePosition ( ) : Win32Point
SendKeyDown ( KeyCode keyCode ) : void

Send a key down and hold it down until sendkeyup method is called

SendKeyPress ( KeyCode keyCode ) : void

simulate key press

SendKeyUp ( KeyCode keyCode ) : void

Release a key that is being hold down

비공개 메소드들

메소드 설명
FindWindow ( string lpClassName, String lpWindowName ) : int
GetCursorPos ( Win32Point &pt ) : bool
GetDesktopWindow ( ) : IntPtr
LoadLibrary ( string librayName ) : IntPtr
PeekMessage ( Message &msg, IntPtr hWnd, uint messageFilterMin, uint messageFilterMax, uint flags ) : bool
PostMessage ( IntPtr hWnd, int wMsg, IntPtr wParam, IntPtr lParam ) : int
SendInput ( uint numberOfInputs, INPUT inputs, int sizeOfInputStructure ) : uint
SendMessage ( IntPtr hWnd, int wMsg, IntPtr wParam, IntPtr lParam ) : int
SetCursorPos ( int X, int Y ) : bool
SetParent ( IntPtr hWndChild, IntPtr hWndNewParent ) : IntPtr

메소드 상세

CreateShortcut() 공개 정적인 메소드

public static CreateShortcut ( string targetPath, string shortcutPath ) : void
targetPath string
shortcutPath string
리턴 void

GetMousePosition() 공개 정적인 메소드

public static GetMousePosition ( ) : Win32Point
리턴 Win32Point

SendKeyDown() 공개 정적인 메소드

Send a key down and hold it down until sendkeyup method is called
public static SendKeyDown ( KeyCode keyCode ) : void
keyCode KeyCode
리턴 void

SendKeyPress() 공개 정적인 메소드

simulate key press
public static SendKeyPress ( KeyCode keyCode ) : void
keyCode KeyCode
리턴 void

SendKeyUp() 공개 정적인 메소드

Release a key that is being hold down
public static SendKeyUp ( KeyCode keyCode ) : void
keyCode KeyCode
리턴 void