I've some problems with attaching the OSR browser, which run in TThread (like in your WebpageSnapshot demo).
In main app, I've shortcut to call the TForm with TCEFWindowParent in tabsheet, this form is for debug purpose because have automation actions which load/parse and return the data, and want see/debug in "live" mode.
I've tried to set the parent, but without success:
Code: Select all
ChromiumThread.Chromium.SetNewBrowserParent(CEFWindowParent1.Handle);
Also, when i trigger the takesnapshot, sometimes (most when GlobalCEFApp.SingleProcess is False (by default)) snapshot is just blank(white), but if I open the DevConsole, I can see the page is loaded...
Can you provide some tips?
BR