[Solved] How to send resize message to external windows controls? lazarus / 34-Windows ---------------------------------------------------------------------- loaded · 2022-03-04 07:08 Hi All, In a web browser I've built with Cef4Delphi support, it works fine if I open the developer console without a parent. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm_WSBrowser.SetDebugToolsEnabled;var  inspectElementAt: Classes.TPoint;begin   Panel1.Visible:=not Panel1.Visible;   Splitter1.Visible:=Panel1.Visible;   if not DevToolCC then   begin   inspectElementAt:=Classes.Point(high(integer), high(integer));   Chromium1.ShowDevTools(inspectElementAt,Panel1 {No problem if I type nil});   DevToolCC:=true   end;end;   But if I view this console on the Panel in the MainForm, there are problems such as resizing and residual drawings on the screen. When the panel is resized, what do I need to do to make the controls in it correct themselves accordingly. ---------------------------------------------------------------------- salvadordf · 2022-03-07 10:06 Panel1 needs to be a TCEFWindowParent and not a TPanel. Check the MiniBrowser demo for all the details about showing, hiding and resizing the DevTools. ---------------------------------------------------------------------- loaded · 2022-03-07 11:13 Thank you so much for your reply salvadordf I seem to remember that somewhere the size can be adjusted with the handle values. Therefore, I thought the problem was related to windows. Magic Control ; Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i TCEFWindowParentYes, this solved my problem. Not only did it solve it; It reminded me of the saying, "With every difficulty, there is an ease".