Click or drag to resize

ChromiumRenderWidgetHandleFinderTryFindHandle(IntPtr, String, IntPtr) Method

Version 130.1.90
Helper function used to find the child HWND with the ClassName matching chromeRenderWidgetHostClassName 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. In most cases you should use the TryFindHandle(IWebBrowser, IntPtr) overload.

Namespace: CefSharp.WinForms.Experimental
Assembly: CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
public static bool TryFindHandle(
	IntPtr chromiumWebBrowserHandle,
	string chromeRenderWidgetHostClassName,
	out IntPtr chromerRenderWidgetHostHandle
)

Parameters

chromiumWebBrowserHandle  IntPtr
ChromiumWebBrowser control Handle
chromeRenderWidgetHostClassName  String
class name used to match
chromerRenderWidgetHostHandle  IntPtr
Handle of the child HWND with the name ChromeRenderWidgetHostClassName

Return Value

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