mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-15 15:55:56 +01:00
Added TCEFWinControl.InvalidateChildren
This commit is contained in:
parent
67c45875d9
commit
74c545a5fb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user