how to refesh traywindow programtically
-
suppose i delete or hide a icon from system tray, the icon gets removed but there is a blank space at that place, how can i refesh the tray or when i delet an icon how the tray should clean that blank space, any idea
See Shell Tray Info - Arrange your system tray icons[^] of course its not directly your answer but maybe its some helpfuls for you
WhiteSky
-
suppose i delete or hide a icon from system tray, the icon gets removed but there is a blank space at that place, how can i refesh the tray or when i delet an icon how the tray should clean that blank space, any idea
Are you using Shell_NotifyIcon(NIM_DELETE... to remove the icon?
-
Are you using Shell_NotifyIcon(NIM_DELETE... to remove the icon?
-
no i am using SendMessage with TB_delete ( soemthing i dont remember now), i dont want to use sheelnotify cas i am deleting some other app icon,
I don't know what you'd do then. The tray icons are tied to a HWND in the app they are associated with and that app also receives messages from the shell related to the icon. Doesn't the app have a setting to hide the tray icon? Good luck!
-
I don't know what you'd do then. The tray icons are tied to a HWND in the app they are associated with and that app also receives messages from the shell related to the icon. Doesn't the app have a setting to hide the tray icon? Good luck!
hi mark, my doubt is , i am making a application which can hide or delet other icon present in system tray or tray noification area, when i delete an icon from there, the icon gets removed but there is blank space or empty space is there, how to refesh the tray or what i can do so tht when i remove or hide an icon, the icon as well as the empty space will also be removed, if you want the code i can post it here
-
hi mark, my doubt is , i am making a application which can hide or delet other icon present in system tray or tray noification area, when i delete an icon from there, the icon gets removed but there is blank space or empty space is there, how to refesh the tray or what i can do so tht when i remove or hide an icon, the icon as well as the empty space will also be removed, if you want the code i can post it here
I have no ides. The icons belong to other apps so you may get them to disappear but that doesn't mean they've been removed.
-
suppose i delete or hide a icon from system tray, the icon gets removed but there is a blank space at that place, how can i refesh the tray or when i delet an icon how the tray should clean that blank space, any idea