The MASM Forum

General => The Workshop => Windows API => Topic started by: kcvinu on July 29, 2024, 10:56:43 AM

Title: Does Windows programs need more than one tray icon ?
Post by: kcvinu on July 29, 2024, 10:56:43 AM
Hi all,
I don't know this question is suited for this forum. But it's Windows GUI related and I know you guys are masters in this arena, so I hope you can answer this.
I am writing gui libraries in different programming languages like C3, D, Odin, Nim, Nelua. For the sake of this post, let us take C3. It is a C like language with manual memory management.
I want to implement a tray icon feature in these libs. So this is my question.

Does Windows programs need more than one tray icon ?
I am planning to create a message only window to handle the messages generated by tray icon and balloon text.
So, If we need more than one tray icon, should I need to create each message only window for each tray ? Or should I use single window handle for all NOTIFYICONDATA structs ?
Thanks in advance.
Title: Re: Does Windows programs need more than one tray icon ?
Post by: NoCforMe on July 29, 2024, 11:07:23 AM
Just to let you know you're one level away from the Windows API forum, which is below this one. (You could ask a moderator to move this if you like.)
Title: Re: Does Windows programs need more than one tray icon ?
Post by: kcvinu on July 29, 2024, 11:18:19 AM
@NoCforMe,
Thanks for the reply. I will sure ask for it.
Title: Re: Does Windows programs need more than one tray icon ?
Post by: stoo23 on August 22, 2024, 11:41:22 AM
Moved as suggested / requested  :smiley: