C# Class NetIde.Test.Support.InteropUtil

显示文件 Open project: netide/netide Class Usage Examples

Public Methods

Method Description
FindWindowInProcess ( Process process, string title ) : IntPtr

Private Methods

Method Description
EnumChildWindows ( IntPtr hwndParent, EnumWindowsProc lpEnumFunc, IntPtr lParam ) : bool
EnumThreadWindows ( int threadId, EnumWindowsProc callback, IntPtr lParam ) : bool
FindChildWindow ( IntPtr hWnd, string title ) : IntPtr
FindWindowInThread ( int threadId, string title ) : IntPtr
GetWindowText ( IntPtr hWnd, StringBuilder text, int maxCount ) : int

Method Details

FindWindowInProcess() public static method

public static FindWindowInProcess ( Process process, string title ) : IntPtr
process System.Diagnostics.Process
title string
return System.IntPtr