You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-07-12 22:30:17 +02:00
Added TCEFWinControl.InvalidateChildren
This commit is contained in:
@ -71,6 +71,7 @@ type
|
||||
function TakeSnapshot(var aBitmap : TBitmap) : boolean;
|
||||
function DestroyChildWindow : boolean;
|
||||
procedure CreateHandle; override;
|
||||
procedure InvalidateChildren;
|
||||
procedure UpdateSize;
|
||||
|
||||
property ChildWindowHandle : THandle read GetChildWindowHandle;
|
||||
@ -111,6 +112,11 @@ begin
|
||||
inherited CreateHandle;
|
||||
end;
|
||||
|
||||
procedure TCEFWinControl.InvalidateChildren;
|
||||
begin
|
||||
if HandleAllocated then RedrawWindow(Handle, nil, 0, RDW_INVALIDATE or RDW_ALLCHILDREN);
|
||||
end;
|
||||
|
||||
procedure TCEFWinControl.UpdateSize;
|
||||
var
|
||||
TempRect : TRect;
|
||||
|
Reference in New Issue
Block a user