Page 1 of 1

Taskbar

Posted: Sun Jul 05, 2020 10:14 am
by dilfich
Every 5 seconds I call LoadURL (CefGetDataURI (and if the program is not active constantly blinks on the taskbar at the time of loading LoadURL (CefGetDataURI (.
WasHidden(True); does not help or should not I do not understand something.
How can I avoid this?

Re: Taskbar

Posted: Tue Jul 07, 2020 10:22 am
by dilfich
So how do I disable the taskbar?
It doesn't work
FDefaultWindowInfoExStyle := WS_EX_NOACTIVATE;
Only through a crutch using FlashWindowEx for the main form, but this is somehow not correct. :?

Re: Taskbar

Posted: Tue Jul 07, 2020 10:54 am
by salvadordf
You can try hiding the form on the taskbar.

Search "delphi hide form on taskbar" on google and you will see several ways to do it.

Try this :
https://stackoverflow.com/questions/118 ... and-alttab

Re: Taskbar

Posted: Tue Jul 07, 2020 11:27 am
by dilfich
Hiding is not an option at all( In the browser, something like a screensaver with updated data offline, but because of the constant call LoadURL occurs flashing on the taskbar.

Re: Taskbar

Posted: Tue Jul 07, 2020 12:02 pm
by salvadordf
Can you reproduce this issue with a demo?
What operating system do you use?

Re: Taskbar

Posted: Tue Jul 07, 2020 12:48 pm
by dilfich
salvadordf wrote: Tue Jul 07, 2020 12:02 pm Can you reproduce this issue with a demo?
What operating system do you use?
It's not difficult

Code: Select all

procedure TMiniBrowserFrm.Timer2Timer(Sender: TObject);
begin
 Chromium1.Browser.MainFrame.LoadURL(CefGetDataURI('<p>bla-bla-bla-bla-bla</p>', 'text/html'));
end;

Re: Taskbar

Posted: Wed Jul 08, 2020 7:38 am
by salvadordf
This is a known CEF issue. Read this for more details :
https://bitbucket.org/chromiumembedded/ ... ser-window