I have a mixed CBuilder / Delphi DLL that I download from a non-VCL host application. I am using RAD Studio XE2. After loading the dll, I install the application descriptor in the main form of the host, which leads to the fact that my forms and dialogs do not appear on the taskbar. However, I would like to show the progress bar on the taskbar and assemble it using the host application. I googled and searched extensively, but can't find anything like it.
R. Bob wrote a good tutorial here about the various functions of the taskbar, and from this I got a progress bar on the main taskbar on the taskbar, but I really want to create a second βcomplexβ icon for the progress bar, which is a lot of applications. For example, Bob's example assumes that you are part of the main application and use this code to add a tab:
if not Application.MainFormOnTaskBar then FormHandle := Application.Handle else FormHandle := Application.MainForm.Handle; TaskbarList.AddTab(FormHandle);
which does nothing in my case. I tried
FormHandle := FindWindow('TfmProg', NIL); TaskbarList.addTab(FormHandle);
but it does not change anything.
I created a form with the Application as the owner and NIL. I created fsNormal or fsStayOnTop. Honestly, I have touched on every parameter that I can get, but nothing works.
marcp source share