C# 클래스 Support.UI.Win32

This class allows for access to win32 functionality that is not directly supported in .NET (hiding/showing the console)
파일 보기 프로젝트 열기: nhmkdev/cardmaker

공개 메소드들

메소드 설명
GetRichTextScrollPosition ( IntPtr HANDLE ) : Point
SetRedraw ( IntPtr HANDLE, bool bRedraw ) : void
SetRichTextScrollPosition ( IntPtr HANDLE, Point pLocation ) : void
ShowConsole ( string sConsoleTitle, bool bShow ) : void

Used to show/hide the console window in console enabled applications. The Console will flicker on at startup.

ShowInactiveTopmost ( IntPtr nFormHandle, int nLeft, int nTop, int nWidth, int nHeight ) : void
ShowTopmost ( IntPtr nFormHandle ) : void

비공개 메소드들

메소드 설명
FindWindow ( string lpClassName, string lpWindowName ) : int
SendMessage ( IntPtr hWnd, int msg, IntPtr wp, IntPtr lp ) : IntPtr
SendMessage ( IntPtr hWnd, int msg, IntPtr wp, Point &lp ) : IntPtr
SetConsoleTitle ( string sConsoleTitle ) : bool
SetForegroundWindow ( int hWnd ) : Int32
SetWindowPos ( int hWnd, int hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags ) : bool
ShowWindow ( int hwnd, int nCmdShow ) : int
ShowWindow ( string sName, bool bShow ) : void

Used to show/hide windows by their title.

Win32 ( ) : System

메소드 상세

GetRichTextScrollPosition() 공개 정적인 메소드

public static GetRichTextScrollPosition ( IntPtr HANDLE ) : Point
HANDLE System.IntPtr
리턴 Point

SetRedraw() 공개 정적인 메소드

public static SetRedraw ( IntPtr HANDLE, bool bRedraw ) : void
HANDLE System.IntPtr
bRedraw bool
리턴 void

SetRichTextScrollPosition() 공개 정적인 메소드

public static SetRichTextScrollPosition ( IntPtr HANDLE, Point pLocation ) : void
HANDLE System.IntPtr
pLocation Point
리턴 void

ShowConsole() 공개 정적인 메소드

Used to show/hide the console window in console enabled applications. The Console will flicker on at startup.
public static ShowConsole ( string sConsoleTitle, bool bShow ) : void
sConsoleTitle string A unique name for this instance of the console
bShow bool Flag indicating whether to show or hide the console
리턴 void

ShowInactiveTopmost() 공개 정적인 메소드

public static ShowInactiveTopmost ( IntPtr nFormHandle, int nLeft, int nTop, int nWidth, int nHeight ) : void
nFormHandle System.IntPtr
nLeft int
nTop int
nWidth int
nHeight int
리턴 void

ShowTopmost() 공개 정적인 메소드

public static ShowTopmost ( IntPtr nFormHandle ) : void
nFormHandle System.IntPtr
리턴 void