C# Class ExcelDna.IntelliSense.Win32Helper

Afficher le fichier Open project: Excel-DNA/IntelliSense Class Usage Examples

Méthodes publiques

Méthode Description
GetClassName ( IntPtr hWnd ) : string
GetClientCursorPos ( IntPtr hWnd ) : Point
GetExcelProcessId ( ) : uint
GetFocusedWindowHandle ( ) : IntPtr
GetPosFromChar ( IntPtr hWnd, int ch ) : int
GetRootAncestor ( IntPtr hWnd ) : IntPtr
GetText ( IntPtr hWnd ) : string
GetWindowBounds ( IntPtr hWnd ) : System.Windows.Rect
GetWindowTextRaw ( IntPtr hwnd ) : string
GetXllModuleHandle ( ) : IntPtr
GetXllName ( ) : string
HideWindow ( IntPtr hWnd ) : bool

Private Methods

Méthode Description
CreateRoundRectRgn ( int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidthEllipse, int nHeightEllipse ) : IntPtr
DeleteObject ( [ hObject ) : bool
GetAncestor ( IntPtr hwnd, GetAncestorFlags flags ) : IntPtr
GetClassNameW ( IntPtr hwnd, [ buf, int nMaxCount ) : int
GetCurrentProcessId ( ) : uint
GetCursorPos ( Point &lpPoint ) : bool
GetGUIThreadInfo ( uint idThread, GUITHREADINFO &lpgui ) : bool
GetModuleHandle ( string lpModuleName ) : IntPtr
GetWindowRect ( IntPtr hwnd, RECT &rect ) : bool
GetWindowText ( IntPtr hWnd, StringBuilder lpString, int nMaxCount ) : int
GetWindowTextLength ( IntPtr hWnd ) : int
GetWindowThreadProcessId ( IntPtr hWnd, uint &lpdwProcessId ) : uint
MoveWindow ( IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool bRepaint ) : bool
ReleaseCapture ( ) : bool
ScreenToClient ( IntPtr hWnd, Point &lpPoint ) : bool
SendMessage ( IntPtr hWnd, WM Msg, IntPtr wParam, [ lParam ) : IntPtr
SendMessage ( IntPtr hWnd, UInt32 Msg, int wParam, int lParam ) : int
SetCapture ( IntPtr hWnd ) : IntPtr
SetParent ( IntPtr hWndChild, IntPtr hWndNewParent ) : IntPtr
ShowWindow ( IntPtr hWnd, int nCmdShow ) : bool

Method Details

GetClassName() public static méthode

public static GetClassName ( IntPtr hWnd ) : string
hWnd System.IntPtr
Résultat string

GetClientCursorPos() public static méthode

public static GetClientCursorPos ( IntPtr hWnd ) : Point
hWnd System.IntPtr
Résultat System.Drawing.Point

GetExcelProcessId() public static méthode

public static GetExcelProcessId ( ) : uint
Résultat uint

GetFocusedWindowHandle() public static méthode

public static GetFocusedWindowHandle ( ) : IntPtr
Résultat System.IntPtr

GetPosFromChar() public static méthode

public static GetPosFromChar ( IntPtr hWnd, int ch ) : int
hWnd System.IntPtr
ch int
Résultat int

GetRootAncestor() public static méthode

public static GetRootAncestor ( IntPtr hWnd ) : IntPtr
hWnd System.IntPtr
Résultat System.IntPtr

GetText() public static méthode

public static GetText ( IntPtr hWnd ) : string
hWnd System.IntPtr
Résultat string

GetWindowBounds() public static méthode

public static GetWindowBounds ( IntPtr hWnd ) : System.Windows.Rect
hWnd System.IntPtr
Résultat System.Windows.Rect

GetWindowTextRaw() public static méthode

public static GetWindowTextRaw ( IntPtr hwnd ) : string
hwnd System.IntPtr
Résultat string

GetXllModuleHandle() public static méthode

public static GetXllModuleHandle ( ) : IntPtr
Résultat System.IntPtr

GetXllName() public static méthode

public static GetXllName ( ) : string
Résultat string

HideWindow() public static méthode

public static HideWindow ( IntPtr hWnd ) : bool
hWnd System.IntPtr
Résultat bool