Click or drag to resize

ChromiumRenderWidgetHandleFinderTryFindHandle Method (IWebBrowser, IntPtr)

Version 101.0.180
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: 101.0.180.0 (101.0.180.0)
Syntax
public static bool TryFindHandle(
	IWebBrowser chromiumWebBrowser,
	out IntPtr chromerRenderWidgetHostHandle
)

Parameters

chromiumWebBrowser
Type: CefSharpIWebBrowser
ChromiumWebBrowser 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