When I click Downloads icon in BriskBard, it show the Downloads window in an new instance. It has an new item in taskbar (see attached picture).
In my browser, the Downloads window is shown, but has no new item in taskbar. It's in the browser's instance.
I just wonder how to get it?
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
How to show a window in different instance?
How to show a window in different instance?
You do not have the required permissions to view the files attached to this post.
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to show a window in different instance?
Hi,
The button with a plus sign in the download manager that is used to add a new download item calls TChromiumCore.StartDownload
The button with a plus sign in the download manager that is used to add a new download item calls TChromiumCore.StartDownload
Re: How to show a window in different instance?
Sorry, my description isn't clear. What I want to know is about Windows programming.
When I click Downloads icon in BriskBard (picture 0), it shows the Downloads window in an new application instance. Because It has an new item in taskbar (picture 1). there're two task items, one is briskbard, the other is the downloads window.
But In Delphi, when we want to show a new form, we write the code like form2.show. It just only show the form, and will not create a new task item in the taskbar. How to show a form with an new task item?
When I click Downloads icon in BriskBard (picture 0), it shows the Downloads window in an new application instance. Because It has an new item in taskbar (picture 1). there're two task items, one is briskbard, the other is the downloads window.
But In Delphi, when we want to show a new form, we write the code like form2.show. It just only show the form, and will not create a new task item in the taskbar. How to show a form with an new task item?
You do not have the required permissions to view the files attached to this post.
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to show a window in different instance?
Override TForm.CreateParams and add WS_EX_APPWINDOW to params.ExStyle.
https://stackoverflow.com/questions/8204397/what-does-ws-ex-appwindow-do
https://stackoverflow.com/questions/30809532/how-to-correctly-have-modeless-form-appear-in-taskbar
https://stackoverflow.com/questions/8204397/what-does-ws-ex-appwindow-do
https://stackoverflow.com/questions/30809532/how-to-correctly-have-modeless-form-appear-in-taskbar
Re: How to show a window in different instance?
Thank you for your information. 
