© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
arion

❔ TrayIcon Context Menu

Regarding the System Tray Overflow Menu, what determines if the menu stays open or closes shortly after?

I have checked to see if its Window Focus, for all actions the focus is shifted to the window of the tray icon.

Window Messages? In the example video 2/3 examples use a custom window to render their context menu, one works, the other doesn't (Riot Client works, Battle.net doesn't)

I couldn't find if anyone else has had this problem or looked into it before but I would like to know how to keep that overflow menu open while your window is rendered to prevent the Steam window from the example closing the overflow menu prematurely (while the window is still active)

tl;dr I would like to know what (low level or high level) causes the Riot Client window to keep the overflow menu active and not the Steam window
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

HELP | Windows Context Menu Manager
C#CC# / help
2y ago
wierd menuitem issue: whole menu closes once deeper than 2 menuitems
C#CC# / help
12mo ago
❔ Csharp context menu strip change color
C#CC# / help
3y ago
❔ Xamarin forms Show Context Menu on single Click
C#CC# / help
4y ago