Ok, the tray icon stuff is working (not fully, but the concept is complete). It works as following: When tabSRMMs own tray icon is active, it will flash when unread messages are there (and it will prevent Mirandas tray icon from flashing). Left clicking on the icon will bring up a menu with the following content: - sessions which have unread events (menu entry shows protocol, nickname, status and number of unread messages)
- list of containers which have been minimized to the tray, separated by a menu separator.
This menu will also list messages if no window has been created for that contact (yet - e.g. if you don't use autocreation options). If you click it, the window will be created. By using that menu, you can quickly bring a window on screen. Also, you can doubleclick the icon when it flashes, and then it will: - restore the window with the most recent message in it.
- If no unread messages are waiting, double-clicking will restore the first container which has been minimized to the tray. If there is no unread message and no minimized container it will do nothing :)
Minimizing to tray is optional, so you can have the tray icon + menus, but still everything on the taskbar. The right - click menu contains some useful global options, like: - disable/enable popups or tray notifications.
- disable/enable auto-creation of tabs and containers.
- disable all message window sounds
- Hide all containers (put them in tray)
- Restore all hidden containers
- "Be super quiet" that option toggles everything, so if you enable it, tabSRMM will instantly stop all activity which may be considering "disturbing" :) - No popups, no autocreation, no sounds etc..
The right-click menu also contains submenus for: - x most recently sessions - list will be saved when you close MiM
- favorites (you can put contacts on this list, using the contacts menu in the message window (add/remove to favorites). This list will also be saved when you exit MiM.
Balloon tooltips:I also added discreet notifications via tray tooltips (balloon - style). They need tray support enabled, but are optional, so you can still use popups together with tray support if you want. Tray tooltips are unicode safe (can display a up to 255 chars long preview of the message) and there is always only one tooltip visible. To be continued...  P.S. Tray Icon is the same as the static container icon already available in the icon packs. Since most icon packs include an icon which looks somewhat like a "message" symbol, it should be ok for this job
« Last Edit: April 22, 2005, 06:47:19 by Nightwish »
---------------------------
Miranda@AT blog Instant Messaging (Jabber preferred): JID silvercircle _at_ gmail _dot_ com -- And the cause for the problem is: You must've hit the wrong any key. |