You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-11-23 21:34:53 +02:00
TChromiumWindow.GetChildWindowHandle must return TChromium.WindowHandle
This commit is contained in:
@@ -137,10 +137,11 @@ end;
|
||||
|
||||
function TChromiumWindow.GetChildWindowHandle : THandle;
|
||||
begin
|
||||
if (FChromium <> nil) then
|
||||
Result := FChromium.BrowserHandle
|
||||
else
|
||||
Result := inherited GetChildWindowHandle;
|
||||
Result := 0;
|
||||
|
||||
if (FChromium <> nil) then Result := FChromium.WindowHandle;
|
||||
|
||||
if (Result = 0) then Result := inherited GetChildWindowHandle;
|
||||
end;
|
||||
|
||||
function TChromiumWindow.GetBrowserInitialized : boolean;
|
||||
|
||||
Reference in New Issue
Block a user