multi-monitor: show xy on correct taskbar?
Re: multi-monitor: show xy on correct taskbar?
How irritatingly annoying of them.
Stupid Windows.
Stupid Windows.
Re: multi-monitor: show xy on correct taskbar?
it bugs me too.
It seems it is not working because the XY main window (class ThunderRT6FormDC) is owend by the window with class ThunderRT6Main. If i remove the owner for testing with
it works as accepted. The taskbar button is now moving with the main window. This is not the solution but maybe a hint why it is not working atm.
It seems it is not working because the XY main window (class ThunderRT6FormDC) is owend by the window with class ThunderRT6Main. If i remove the owner for testing with
Code: Select all
SetWindowLongPtr((HWND)0xWindowIDOfMainWindow, GWLP_HWNDPARENT, 0);
-
- Posts: 20
- Joined: 07 Feb 2016 01:05
Re: multi-monitor: show xy on correct taskbar?
Wow another year passes and this is still an issue...
-
- Site Admin
- Posts: 60774
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: multi-monitor: show xy on correct taskbar?
Thanks, that explains it indeed. And it also shows that it's a Windows bug. Sorry, but I cannot do anything about it.pulp wrote:If i remove the owner for testing with
it works as accepted. The taskbar button is now moving with the main window. This is not the solution but maybe a hint why it is not working atm.Code: Select all
SetWindowLongPtr((HWND)0xWindowIDOfMainWindow, GWLP_HWNDPARENT, 0);
FAQ | XY News RSS | XY Twitter
Re: multi-monitor: show xy on correct taskbar?
Seems to be a VB6 framework problem: https://stackoverflow.com/questions/105 ... ndows-likeadmin wrote:Thanks, that explains it indeed. And it also shows that it's a Windows bug. Sorry, but I cannot do anything about it.pulp wrote:If i remove the owner for testing with
it works as accepted. The taskbar button is now moving with the main window. This is not the solution but maybe a hint why it is not working atm.Code: Select all
SetWindowLongPtr((HWND)0xWindowIDOfMainWindow, GWLP_HWNDPARENT, 0);
Re: multi-monitor: show xy on correct taskbar?
litte pogram to fix it (long term testing pending...):
Is it possible run a exe (via xy xcript?) on xy startup? so i could run this litte program during xy start. if not i will start it via AutoHotkey script.
Code: Select all
#include <Windows.h>
int main()
{
//Assuming its the only VB6 program...
HWND xp_window = ::FindWindowA("ThunderRT6FormDC", 0);
if (!xp_window || !GetWindow(xp_window, GW_OWNER))
{
return 0;
}
SetWindowLongPtr(xp_window, GWLP_HWNDPARENT, 0);
return 0;
}
Re: multi-monitor: show xy on correct taskbar?
Ofc.Is it possible run a exe (via xy xcript?) on xy startup?
/script parameter for XY
and the script command
Code: Select all
run
to a different monitor will move it's taskbar entry just fine...
TIF = Taskbar Icon Fixer
One of my scripts helped you out? Please donate via Paypal
Re: multi-monitor: show xy on correct taskbar?
Thank you works great.
-
- Site Admin
- Posts: 60774
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: multi-monitor: show xy on correct taskbar?
Let me know about the side effects... (I would not have dared to do this).pulp wrote:Thank you works great.
FAQ | XY News RSS | XY Twitter
Re: multi-monitor: show xy on correct taskbar?
i will let you knowadmin wrote:Let me know about the side effects... (I would not have dared to do this).pulp wrote:Thank you works great.
Re: multi-monitor: show xy on correct taskbar?
XY_Taskbar icon fixer (v1.0)
You can either run it (once) via a
command line call to XYplorer
or in a "forever" mode (it runs until you end it) with:
It's recommended to run it with --forever and start it via the task scheduler with "[x] Run with hightest privileges"
if you want to catch XYplorer instances that run elevated (with admin permissions).
In "--forever" mode, it'll check each second if a XYplorer window is still owned and removes that so that you can put it on any monitor and the taskbar icon moves with it...
You can either run it (once) via a
/script="run 'path\XY_Taskbar icon fixer.exe';"
command line call to XYplorer
or in a "forever" mode (it runs until you end it) with:
XY_Taskbar icon fixer.exe --forever
It's recommended to run it with --forever and start it via the task scheduler with "[x] Run with hightest privileges"
if you want to catch XYplorer instances that run elevated (with admin permissions).
In "--forever" mode, it'll check each second if a XYplorer window is still owned and removes that so that you can put it on any monitor and the taskbar icon moves with it...
One of my scripts helped you out? Please donate via Paypal
Re: multi-monitor: show xy on correct taskbar?
When I tried XY_Taskbar icon fixer on Win 11, I get an error saying "linker.txt file not found!", with the message box titled "XY_Taskbar icon fixer - Fatal error". Any suggestions
Re: multi-monitor: show xy on correct taskbar?
Try this one:
One of my scripts helped you out? Please donate via Paypal
Re: multi-monitor: show xy on correct taskbar?
That worked. Thanks!