Click or drag to resize

ChromiumRenderWidgetHandleFinderTryFindHandle Method (IBrowser, IntPtr)

Version 118.6.80
Chromium's message-loop Window isn't created synchronously, so this may not find it. If so, you need to wait and try again later.

Namespace:  CefSharp.WinForms.Experimental
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax
public static bool TryFindHandle(
	IBrowser browser,
	out IntPtr chromerRenderWidgetHostHandle
)

Parameters

browser
Type: CefSharpIBrowser
IBrowser instance
chromerRenderWidgetHostHandle
Type: SystemIntPtr
Handle of the child HWND with the name ChromeRenderWidgetHostClassName

Return Value

Type: Boolean
returns true if the HWND was found otherwise false.
See Also