ChromiumRenderWidgetHandleFinderTryFindHandle Method (IBrowser, IntPtr) |
Version 110.0.300
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: 110.0.300.0 (110.0.300.0)
Syntax public static bool TryFindHandle(
IBrowser browser,
out IntPtr chromerRenderWidgetHostHandle
)
public:
static bool TryFindHandle(
IBrowser^ browser,
[OutAttribute] IntPtr% chromerRenderWidgetHostHandle
)
Parameters
- browser
- Type: CefSharpIBrowser
IBrowser instance - chromerRenderWidgetHostHandle
- Type: SystemIntPtr
Handle of the child HWND with the name ChromeRenderWidgetHostClassName
Return Value
Type:
Booleanreturns true if the HWND was found otherwise false.
See Also