Taskbar

Post Reply
dilfich
Posts: 239
Joined: Thu Nov 30, 2017 1:17 am

Taskbar

Post 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?
dilfich
Posts: 239
Joined: Thu Nov 30, 2017 1:17 am

Re: Taskbar

Post 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. :?
User avatar
salvadordf
Posts: 2987
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Taskbar

Post 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
dilfich
Posts: 239
Joined: Thu Nov 30, 2017 1:17 am

Re: Taskbar

Post 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.
User avatar
salvadordf
Posts: 2987
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Taskbar

Post by salvadordf »

Can you reproduce this issue with a demo?
What operating system do you use?
dilfich
Posts: 239
Joined: Thu Nov 30, 2017 1:17 am

Re: Taskbar

Post 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;
User avatar
salvadordf
Posts: 2987
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Taskbar

Post by salvadordf »

This is a known CEF issue. Read this for more details :
https://bitbucket.org/chromiumembedded/ ... ser-window
Post Reply