C# Class ManagedWin32.Api.User32

显示文件 Open project: MathewSachin/ManagedWin32

Public Methods

Method Description
GetWindowText ( IntPtr hWnd ) : string

Private Methods

Method Description
AnimateWindow ( IntPtr hwnd, int time, AnimateWindowFlags flags ) : bool
AttachThreadInput ( IntPtr idAttach, IntPtr idAttachTo, int fAttach ) : IntPtr
BringWindowToTop ( IntPtr hWnd ) : bool
CallNextHookEx ( IntPtr hhk, int nCode, IntPtr wParam, IntPtr lParam ) : IntPtr
ChangeClipboardChain ( IntPtr hWndRemove, IntPtr hWndNewNext ) : bool
ClientToScreen ( IntPtr hWnd, Point &lpPoint ) : bool
CloseDesktop ( IntPtr hDesktop ) : bool
CopyIcon ( IntPtr hIcon ) : IntPtr
CreateDesktop ( string lpszDesktop, IntPtr lpszDevice, IntPtr pDevmode, int dwFlags, DesktopAccessRights dwDesiredAccess, IntPtr lpsa ) : IntPtr
CreateIconIndirect ( IconInfo &icon ) : IntPtr
CreateWindowEx ( int dwExStyle, [ lpClassName, [ lpWindowName, int dwStyle, int x, int y, int nWidth, int nHeight, IntPtr hWndParent, IntPtr hMenu, IntPtr hInstance, IntPtr lpParam ) : IntPtr
DefWindowProc ( IntPtr hWnd, uint msg, IntPtr wparam, IntPtr lparam ) : IntPtr
DestroyIcon ( IntPtr hIcon ) : bool
DestroyWindow ( IntPtr hWnd ) : bool
DrawIcon ( IntPtr hDC, int X, int Y, IntPtr hIcon ) : bool
DrawIconEx ( IntPtr hdc, int xLeft, int yTop, IntPtr hIcon, int cxWidth, int cyHeight, int istepIfAniCur, IntPtr hbrFlickerFreeDraw, int diFlags ) : bool
EnableWindow ( IntPtr hWnd, bool bEnable ) : bool
EnumChildWindows ( IntPtr hwndParent, EnumWindowsProc lpEnumFunc, IntPtr lParam ) : bool
EnumChildWindows ( IntPtr hWndParent, EnumWindowsProc lpEnumFunc, int lParam ) : int
EnumDesktopWindows ( IntPtr hDesktop, EnumDesktopWindowsProc lpfn, IntPtr lParam ) : bool
EnumDesktops ( IntPtr hwinsta, EnumDesktopProc lpEnumFunc, IntPtr lParam ) : bool
EnumThreadWindows ( uint dwThreadId, EnumWindowsProc lpfn, IntPtr lParam ) : bool
EnumWindows ( EnumWindowsProc proc, IntPtr lParam ) : bool
EnumWindows ( EnumWindowsProc lpEnumFunc, int lParam ) : int
ExitWindows ( ShutdownFlags Flag, int Reason ) : bool
FindWindow ( string lpClassName, string lpWindowName ) : IntPtr
FindWindowEx ( IntPtr parentHwnd, IntPtr childAfterHwnd, IntPtr className, string windowText ) : IntPtr
FindWindowEx ( IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow ) : IntPtr
FlashWindowEx ( FlashWindowInfo &pwfi ) : bool
GetActiveWindow ( ) : IntPtr
GetAsyncKeyState ( KeyCode virtualKeyCode ) : short
GetClassLong ( IntPtr hWnd, int nIndex ) : IntPtr
GetClassLongPtr ( IntPtr hWnd, int nIndex ) : IntPtr
GetClassName ( IntPtr hWnd, StringBuilder lpClassName, int nMaxCount ) : int
GetClientRect ( IntPtr hWnd, RECT &lpRect ) : bool
GetClipboardOwner ( ) : IntPtr
GetCursorInfo ( CursorInfo &pci ) : bool
GetCursorPos ( Point &lpPoint ) : bool
GetDC ( IntPtr hWnd ) : IntPtr
GetDesktopWindow ( ) : IntPtr
GetDoubleClickTime ( ) : int
GetForegroundWindow ( ) : IntPtr
GetGuiResources ( IntPtr hProcess, uint uiFlags ) : uint
GetIconInfo ( IntPtr hIcon, IconInfo &piconinfo ) : bool
GetKeyState ( KeyCode Keycode ) : short
GetMessageExtraInfo ( ) : IntPtr
GetParent ( IntPtr hWnd ) : IntPtr
GetPhysicalCursorPos ( Point &lpPoint ) : bool
GetProcessWindowStation ( ) : IntPtr
GetScrollInfo ( IntPtr hwnd, int fnBar, ScrollInfo &lpsi ) : bool
GetSysColor ( int nIndex ) : uint
GetSystemMetrics ( SystemMetrics nIndex ) : int
GetThreadDesktop ( int dwThreadId ) : IntPtr
GetTopWindow ( IntPtr hWnd ) : IntPtr
GetUserObjectInformation ( IntPtr hObj, int nIndex, IntPtr pvInfo, int nLength, int &lpnLengthNeeded ) : bool
GetWindow ( IntPtr hWnd, GetWindowEnum uCmd ) : IntPtr
GetWindowDC ( IntPtr hWnd ) : IntPtr
GetWindowInfo ( IntPtr hwnd, WindowInfo &pwi ) : bool
GetWindowLong ( IntPtr hWnd, GetWindowLongValue nIndex ) : WindowStyles
GetWindowLong ( IntPtr hwnd, int index ) : uint
GetWindowLongPtr ( IntPtr hwnd, int nIndex ) : uint
GetWindowModuleFileName ( IntPtr hWnd, [ module, int size ) : int
GetWindowPlacement ( IntPtr hWnd, WindowPlacement &lpwndpl ) : bool
GetWindowRect ( IntPtr hWnd, RECT &rect ) : IntPtr
GetWindowRgn ( IntPtr hWnd, SafeHandle hRgn ) : RegionResult
GetWindowRgn ( IntPtr hWnd, IntPtr hRgn ) : int
GetWindowText ( IntPtr hWnd, [ lpString, int nMaxCount ) : int
GetWindowTextLength ( IntPtr hWnd ) : int
GetWindowThreadProcessId ( IntPtr hWnd, IntPtr ProcessId ) : IntPtr
GetWindowThreadProcessId ( IntPtr hWnd, int &lpdwProcessId ) : int
GetWindowThreadProcessId ( IntPtr hWnd, uint &lpdwProcessId ) : uint
IsIconic ( IntPtr hWnd ) : bool
IsWindow ( IntPtr hWND ) : bool
IsWindowEnabled ( IntPtr hWnd ) : bool
IsWindowVisible ( IntPtr hWnd ) : bool
IsZoomed ( IntPtr hWnd ) : bool
LoadImage ( IntPtr hInstance, IntPtr lpszName, LoadImageTypes imageType, int cxDesired, int cyDesired, uint fuLoad ) : IntPtr
LockWorkStation ( ) : void
LookupIconIdFromDirectory ( IntPtr presbits, bool fIcon ) : int
LookupIconIdFromDirectory ( IntPtr presbits, bool fIcon, int cxDesired, int cyDesired, LookupIconIdFromDirectoryExFlags Flags ) : int
MapWindowPoints ( IntPtr hwndFrom, IntPtr hwndTo, Point &lpPoints, [ cPoints ) : int
MonitorFromRect ( [ lprc, uint dwFlags ) : IntPtr
MonitorFromWindow ( IntPtr hwnd, uint dwFlags ) : IntPtr
OpenDesktop ( string lpszDesktop, int dwFlags, bool fInherit, DesktopAccessRights dwDesiredAccess ) : IntPtr
OpenInputDesktop ( int dwFlags, bool fInherit, DesktopAccessRights dwDesiredAccess ) : IntPtr
Play ( BeepType BeepType ) : bool
PostMessage ( IntPtr hWnd, uint msg, int wParam, int lParam ) : bool
PostMessage ( IntPtr hWnd, WindowsMessage wMsg, int wParam, int lParam ) : int
PrintWindow ( IntPtr hwnd, IntPtr hDC, uint nFlags ) : bool
RegisterClass ( WindowClass &lpWndClass ) : short
RegisterHotKey ( IntPtr hWnd, int id, ModifierKeyCodes fdModifiers, KeyCode vk ) : bool
RegisterWindowMessage ( [ lpString ) : uint
ReleaseCapture ( ) : bool
ReleaseDC ( IntPtr hWnd, IntPtr hDC ) : IntPtr
ReleaseDC ( IntPtr dc ) : void
SendInput ( uint numberOfInputs, INPUT inputs, int sizeOfInputStructure ) : uint
SendMessage ( IntPtr hWnd, WindowsMessage Msg, int wParam, int lParam ) : IntPtr
SendMessage ( IntPtr hWnd, int Msg, int wParam, [ lParam ) : IntPtr
SendMessage ( IntPtr hWnd, int msg, int wParam, int lParam ) : IntPtr
SendMessage ( IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
SendMessage ( IntPtr hWnd, int wMsg, IntPtr wParam, IntPtr lParam ) : int
SendMessageTimeout ( IntPtr hWnd, int Msg, int wParam, int lParam, SendMessageTimeoutFlags fuFlags, uint uTimeout, IntPtr &lpdwResult ) : IntPtr
SendMessageTimeout ( IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam, SendMessageTimeoutFlags fuFlags, uint uTimeout, UIntPtr &lpdwResult ) : IntPtr
SetActiveWindow ( IntPtr hWnd ) : IntPtr
SetCapture ( IntPtr hWnd ) : IntPtr
SetClipboardViewer ( IntPtr hWndNewViewer ) : IntPtr
SetCursorPos ( int x, int y ) : bool
SetForegroundWindow ( IntPtr hWnd ) : bool
SetParent ( IntPtr hWndChild, IntPtr hWndNewParent ) : int
SetScrollPos ( IntPtr hWnd, Orientation nBar, int nPos, bool bRedraw ) : int
SetThreadDesktop ( IntPtr hDesktop ) : bool
SetWinEventHook ( WinEvent eventMin, WinEvent eventMax, IntPtr hmodWinEventProc, WinEventDelegate lpfnWinEventProc, int idProcess, int idThread, WinEventHookFlags dwFlags ) : IntPtr
SetWindowLong ( IntPtr hWnd, int index, int styleFlags ) : int
SetWindowLongPtr ( IntPtr hWnd, int index, IntPtr styleFlags ) : IntPtr
SetWindowPlacement ( IntPtr hWnd, [ lpwndpl ) : bool
SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, SetWindowPositionFlags wFlags ) : bool
SetWindowText ( IntPtr hWnd, string lpString ) : bool
SetWindowsHookEx ( int idHook, HookProc lpfn, IntPtr hMod, uint dwThreadId ) : IntPtr
ShowScrollBar ( IntPtr hwnd, ScrollBarDirection scrollBar, bool show ) : bool
ShowWindow ( IntPtr hWnd, ShowWindowFlags nCmdShow ) : int
ShowWindowAsync ( IntPtr hWnd, ShowWindowFlags nCmdShow ) : bool
SwitchDesktop ( IntPtr hDesktop ) : bool
SystemParametersInfo ( SystemInfoParamsAction uAction, int uParam, IntPtr lpvParam, int flags ) : bool
SystemParametersInfo ( SystemInfoParamsAction uAction, int uParam, bool &lpvParam, int flags ) : bool
SystemParametersInfo ( SystemInfoParamsAction uAction, int uParam, int &lpvParam, int flags ) : bool
UnhookWinEvent ( IntPtr hWinEventHook ) : bool
UnhookWindowsHookEx ( IntPtr hhk ) : bool
UnregisterHotKey ( IntPtr hWnd, int id ) : bool
UpdateLayeredWindow ( IntPtr hwnd, IntPtr hdcDst, Point &pptDst, Size &psize, IntPtr hdcSrc, Point &pptSrc, uint crKey, [ pblend, uint dwFlags ) : bool
WindowFromDC ( HandleRef hDC ) : IntPtr

Method Details

GetWindowText() public static method

public static GetWindowText ( IntPtr hWnd ) : string
hWnd System.IntPtr
return string