C# Class TSTool.EnumerateOpenedWindows

Mostra file Open project: brightideainc/TSTool

Public Methods

Method Description
GetDesktopWindowsTitles ( ) : string[]

Return titles of all visible windows on desktop

GetWindowText ( IntPtr hWnd ) : string

Return the window title of handle

Private Methods

Method Description
EnumDesktopWindows ( IntPtr hDesktop, EnumDelegate lpEnumCallbackFunction, IntPtr lParam ) : bool
EnumWindowsProc ( IntPtr hWnd, int lParam ) : bool
IsWindowVisible ( IntPtr hWnd ) : bool
_GetWindowText ( IntPtr hWnd, StringBuilder lpWindowText, int nMaxCount ) : int

Method Details

GetDesktopWindowsTitles() public static method

Return titles of all visible windows on desktop
public static GetDesktopWindowsTitles ( ) : string[]
return string[]

GetWindowText() public static method

Return the window title of handle
public static GetWindowText ( IntPtr hWnd ) : string
hWnd System.IntPtr
return string