Open coderb opened 2 years ago
hi @dreamforceinc - ShowWindows(SW_HIDE)
makes the window invisible (eg no taskbar entry). I believe a call to ShowWindow(SW_MINIMIZE)
prior to the hide would solve my issue (and a corresponding call to ShowWindow(SW_RESTORE)
when untraying. thanks.
@coderb
I believe a call to
ShowWindow(SW_MINIMIZE)
prior to the hide would solve my issue
Yes, you are right. It works for me, but it have a some unwanted "effects" for some windows. ))) Total Commander now have a two icons in tray after hiding by rbtray. This happens when the option 'Move icon to system tray when minimized' is enabled. Need to think about it.
@dreamforceinc hi- for total commander shouldn't you just unselect the option in total command to minimize to tray? alternatively, rbtray could check to see if the window is still visible after the minimize and not move to the tray if so (this is probably the most functional solution).
if there is any way i can help to get this issue addressed/merged please let me know. it is a constant source of annoyance for what is otherwise an outstanding utility.
thanks.
Hi @dreamforceinc and @coderb,
I just responded to pull request #77 by @dreamforceinc.
Thanks, Benbuck
if there is any way i can help to get this issue addressed/merged please let me know. it is a constant source of annoyance for what is otherwise an outstanding utility.
Hi @coderb ! Feel free to add your own solution.
When using google earth if you click on a "waypoint" it may display a small popup window (child).
It turns out that when using rbtray if you minimize to tray, this popup remains displayed.
However, when you do a normal minimize of google earth the popup is hidden.
Perhaps rbtray should do a normal minimize of the window prior to hiding it and adding the tray icon so that the application gets a chance to handle the minimize windows event and do what it needs.
I've attached some screenshots to illustrate: