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
Looking for feedback from TrayIcon library users on Windows 11
- JoeWinograd
- Posts: 2214
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
- JoeWinograd
- Posts: 2214
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: Looking for feedback from TrayIcon library users on Windows 11
Wait for a help with this to. Gratly appretiated.
- JoeWinograd
- Posts: 2214
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: Looking for feedback from TrayIcon library users on Windows 11
Some alternatives/work-arounds beginning at this forum post:luizrocha wrote:Wait for a help with this to.
viewtopic.php?f=23&t=111398#p499459
Regards, Joe
-
- Posts: 36
- Joined: 09 Sep 2017, 01:51
- Location: Aotearoa
- Contact:
Re: Looking for feedback from TrayIcon library users on Windows 11
Hi JoeJoeWinograd wrote: ↑10 Jan 2023, 20:30Some alternatives/work-arounds beginning at this forum post:luizrocha wrote:Wait for a help with this to.
viewtopic.php?f=23&t=111398#p499459
Regards, 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?
- JoeWinograd
- Posts: 2214
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: Looking for feedback from TrayIcon library users on Windows 11
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
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
-
- Posts: 36
- Joined: 09 Sep 2017, 01:51
- Location: Aotearoa
- Contact:
Re: Looking for feedback from TrayIcon library users on Windows 11
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?JoeWinograd wrote: ↑20 Jan 2023, 22:57Hi @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
- JoeWinograd
- Posts: 2214
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: Looking for feedback from TrayIcon library users on Windows 11
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
-
- Posts: 36
- Joined: 09 Sep 2017, 01:51
- Location: Aotearoa
- Contact:
Re: Looking for feedback from TrayIcon library users on Windows 11
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 !
- JoeWinograd
- Posts: 2214
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: Looking for feedback from TrayIcon library users on Windows 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, Joepotscrubber wrote:updated my office laptop to Win 11
-
- Posts: 36
- Joined: 09 Sep 2017, 01:51
- Location: Aotearoa
- Contact:
Re: Looking for feedback from TrayIcon library users on Windows 11
Oh bugger. I know it was 22H2. But I didn't look at the build numberJoeWinograd wrote: ↑23 Jan 2023, 19:47My 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, Joepotscrubber wrote:updated my office laptop to Win 11
Who is online
Users browsing this forum: apeironn, Google [Bot] and 188 guests