Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Logerfo committed Nov 6, 2018
2 parents b077089 + 189bed6 commit 387b2fd
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# RBTray
## Introduction
This is a fork from [Nikolay Redko](http://rbtray.sourceforge.net/) work.
The original application hides the window and adds its icon to the system tray. My version has two differences:
- The icon is constantly updated.
- The window is not hidden.

## How to use
Start `RBTray.exe` and right click the minimize button of the window you want its icon to be shown in the system tray.
You can right click the icon to quit the application (which will remove every icon from the tray), close the window or remove only its icon from the tray.
You can also left click the icon to send the window to the foreground (and change the current desktop to the one which contains it, if you are on Windows 10).

## Development
Any issues or pull requests are welcome and I'll try to make time to answer them.

### Updating the icon
Currently, every icon is updated each time the application gets a message. This is bad for two reasons:
- It's an expensive operation.
- It may not reflect the changes very quickly.

I believe the right way of doing this would be subscribing to an event which is triggered when the window status (icon, title) is changed, but I'm afrad I don't have the proper Windows API or C++ knowledge to achieve this.

### Exiting
Currently, exiting the application is not killing its proccess.

## Alternatives
The only alternative I found for this behavior is called [Actual Window Manger](https://www.actualtools.com/windowmanager/), but it's not free, although it has a 60 days trial. I tested it and it works perfectly. It also has some very other useful features, the tray icon is just a small feature.

0 comments on commit 387b2fd

Please sign in to comment.