Page 1 of 1
Looking for feedback from TrayIcon library users on Windows 11
Posted: 08 Dec 2022, 03:27
by JoeWinograd
Hi Folks,
I posted this issue at the
TrayIcon library thread, but decided to post this separate thread to see if anyone else is experiencing the same problem on Windows 11. My scripts call TrayIcon_Button, TrayIcon_GetInfo, TrayIcon_Move, and TrayIcon_Remove. They were working fine in prior W11 releases, but no longer work in Version 22H2, Build 22623.1020 (I don't know if that's the first release where they stopped working, but it's the first time that I noticed it).
My guess is that it's because the
TB_ message calls (TBBUTTON structure) that the TrayIcon library makes are no longer working (btw, they continue to work fine in W10 22H2). Those calls are TB_BUTTONCOUNT, TB_DELETEBUTTON, TB_GETBUTTON, and TB_MOVEBUTTON. I plan to submit this issue to Microsoft, but want to get some feedback first from other members.
Are you seeing the problem? If so, do you agree with my conjecture on why it's happening? Or do you have other ideas on the reason? Thanks much, Joe
Re: Looking for feedback from TrayIcon library users on Windows 11
Posted: 10 Dec 2022, 15:15
by JoeWinograd
Bump...anyone? Thanks!
And maybe you can help here:
viewtopic.php?f=76&t=111398
Thanks again!
Re: Looking for feedback from TrayIcon library users on Windows 11
Posted: 20 Dec 2022, 16:18
by luizrocha
Wait for a help with this to. Gratly appretiated.
Re: Looking for feedback from TrayIcon library users on Windows 11
Posted: 10 Jan 2023, 20:30
by JoeWinograd
luizrocha wrote:Wait for a help with this to.
Some alternatives/work-arounds beginning at this forum post:
viewtopic.php?f=23&t=111398#p499459
Regards, Joe
Re: Looking for feedback from TrayIcon library users on Windows 11
Posted: 19 Jan 2023, 21:53
by potscrubber
Hi Joe
I also found this helpful function / class
linked in this post here. It works well on Win 10. I'm not currently able to test on Win 11. Are you?
Re: Looking for feedback from TrayIcon library users on Windows 11
Posted: 20 Jan 2023, 22:57
by JoeWinograd
Hi
@potscrubber,
That's the same TrayIcon library that I've been talking about the whole time (Original Author: Sean, Update Author: Cyruz, Mod Author: Fanatic Guru). It works great in W10 (and earlier), as well as W11 through Build 22621, but does not work in Build 22623, the cause of which
lexikos explains in this post. Regards, Joe
Re: Looking for feedback from TrayIcon library users on Windows 11
Posted: 20 Jan 2023, 23:06
by potscrubber
JoeWinograd wrote: ↑20 Jan 2023, 22:57
Hi @potscrubber,
That's the same TrayIcon library that I've been talking about the whole time (Original Author: Sean, Update Author: Cyruz, Mod Author: Fanatic Guru). It works great in W10 (and earlier), as well as W11 through Build 22621, but does not work in Build 22623, the cause of which
lexikos explains in this post. Regards, Joe
Hi Joe.. I follow most of that (though haven't grokked lexikos's full explanation yet). But the link I supplied was to a post by teadrinker, above the Trayicon library evolution. teadrinker's code seems to use a different method?
Re: Looking for feedback from TrayIcon library users on Windows 11
Posted: 20 Jan 2023, 23:28
by JoeWinograd
Ah, sorry, I focused on the FanaticGuru post under the teadrinker post. I'm not in a position to work on W11 now. I'll look into it as soon as possible, but it may be a week or two. Thanks for the idea! Regards, Joe
Re: Looking for feedback from TrayIcon library users on Windows 11
Posted: 23 Jan 2023, 18:24
by potscrubber
Last night I updated my office laptop to Win 11 (in place), did a quick test
of the code by teadrinker, it seemed to work flawlessly. Then I hurriedly put my Win 10 image back! Thanks
@teadrinker !
Re: Looking for feedback from TrayIcon library users on Windows 11
Posted: 23 Jan 2023, 19:47
by JoeWinograd
potscrubber wrote:updated my office laptop to Win 11
My guess is that you updated to Build 22621, where teadrinker's code works great. However, it does not work in Build 22623 (where it gets the
MsgBox, Not Found) for the same reason that the TrayIcon library does not work (as lexikos explained). I don't understand all of teadrinker's code, but a quick look shows that it relies on the
Shell_TrayWnd and
NotifyIconOverflowWindow toolbars, which are the issues that lexikos discussed. But I really appreciate your efforts on this! Regards, Joe
Re: Looking for feedback from TrayIcon library users on Windows 11
Posted: 23 Jan 2023, 19:55
by potscrubber
JoeWinograd wrote: ↑23 Jan 2023, 19:47
potscrubber wrote:updated my office laptop to Win 11
My guess is that you updated to Build 22621, where teadrinker's code works great. However, it does not work in Build 22623 (where it gets the
MsgBox, Not Found) for the same reason that the TrayIcon library does not work (as lexikos explained). I don't understand all of teadrinker's code, but a quick look shows that it relies on the
Shell_TrayWnd and
NotifyIconOverflowWindow toolbars, which are the issues that lexikos discussed. But I really appreciate your efforts on this! Regards, Joe
Oh bugger. I know it was 22H2. But I didn't look at the build number