In The Hand LtdIn The Hand
GetMainWindowHandle Method (p)
NamespacesInTheHand.DiagnosticsProcessHelperGetMainWindowHandle(Process)
.NET Components for Mobility
Gets the window handle of the main window of the associated process.
Declaration Syntax
C#Visual Basic
public static IntPtr GetMainWindowHandle(
	Process p
)
Public Shared Function GetMainWindowHandle ( _
	p As Process _
) As IntPtr
Parameters
p (Process)

[Missing <param name="p"/> documentation for "M:InTheHand.Diagnostics.ProcessHelper.GetMainWindowHandle(System.Diagnostics.Process)"]

Return Value
The system-generated window handle of the main window of the associated process.
Remarks
The main window is the window that is created when the process is started. After initialization, other windows may be opened, including the Modal and TopLevel windows, but the first window associated with the process remains the main window.

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0