nice idea!
I have tried the example command under BB 1.5 and BB 1.6 
both under Windows XP.
It shows the following behavior:
An icon is added to the System tray, but when I move the mouse
over that icon, a number of trap windows appear in the BB application.
Then BB freezes and must be closed via the task manager.

A screen dump can be found in the attachements.

- JT

----- Original Message ----- 
From: "Kai Kietzke" <kai@KIETZKE.NET>
To: <BLACKBOX@LISTS.OBERON.CH>
Sent: Monday, June 30, 2008 12:12 PM
Subject: [BLACKBOX] Icon in systemtray

> 
> Dear BlackBox Users,
> 
> I have worked out a little module that provides an
> Icon in the systemtray associated with any
> blackbox-menu.
> 
> I am not that experienced in working with WinApi, so
> it woul be very nice if someone could review the code
> or just do some testing and give feedback.
> 
> If it's ok I plan to share the module in Helmuts CpcCollection.
> 
> Regards
> 
> Kai
> 
> -- 
> (*** ------------------------------------------------------------- ***)
>        Kietzke Software Gbr.
> 
>        Buirer Strasse 1a 
>        D-52399 Golzheim
> 
>        02275 / 203 93 69
>        www.Kietzke.net                 
>        kai@kietzke.net
> (*** -------------------------------------------------------------  ***)
> 
> StdCoder.Decode ..,, ..uF,...3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
> hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZRiX
> 7.2.s,szb.,6.5Qw7uP51QCPuP7PNN9F9vQAy1xB.gdj,UBxhYhAbf9P0G2sIdvPZntgcghghZ
> cZRC8T0E.kaC,H.9u22.,U08J99SdfJHPNjvQCJuGKfaqmY6MwdONl1QCh0708T,U..w.wxG.,
> sUGpmWbBxhYhAbndMHT9NY6Mw.sQq2Y6cwB.0.nD2w,AyEE.0.Ia,U00.bnUGLu8ro8quGrmCL
> WKqtE0E.kHE.0.p.0..JFA0z.E.0E65.w.AU0KyB.,UsU.UO.,.Ue.E.mP,U5U.oO6.6Whh.0p
> d8U0Cy2hgqRcjhhhBgiZgZJinpZHZCh0E.4TWKKv.Uio8.,cw5.0..o.6.K,O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x7kV.AZvg,HcP.FvJR9NpNDjfP71kRq..K
> rYGIRqHMin4ak2.cFNPMDvQpNDjOORPEkYOojaoVyIb0mJ0mf.UBhcHRe,xc33YfsJ.EeaIcin
> 4.U1BggZhWBgXNH9vQb1pND,tJHfPkfqojEdi1H.EoaolcCv76j0MFl9RZnlGrYCqr2ZkYZUgg
> shgC,0Xv2YBEr.CLxGpo0LRqXH3dDFIqqm.a0Igjxhg3Yug5j0sI.U7RA00.RmaAc2Zcg2YixB
> M8rN1K2CpmG5Q5PEc.kYuqoGLJWGr4qqI5.sEkRqU0,MPuquUUEEu4GmRq.Pk2a4UUUL,w6qor
> Gqu6G1fP7Xcod7ZddQbBM0j1.,dC.cHfWvUBkV8rm44.S371ak2CpmGrYk4gcClYuqoQbBgV0h
> c5,99SUUUH,Goo44Agk3iCBghhALFFummWrm8mIin4CIayodKo4aEWKqtG5..gV3pd2tEVvMd0
> RdUXDJ9X1xhiZimxhgZhZJinpZH7N58RZ9P7ONbvM,Mwd0.UiQcjpho,YcZRiX3.5011Z1cQ..
> .sQR,.G20EtH.,6.636.M00.,..1cUXDJ9XGhighgmRiiQ88pum470,Mwd0UnpZGhighA70,cw
> 5U.6.QJw.QI2U.sUGZs,QiiQ8CJua57ONbvM,Mw.ELMSN12Umz.,6.0.E2EhU.E,,.RNEd1U2l
> l0U2U...GW.6.16.0U.UUQoOF.2U5Bn,sbTX,U,U.2.8MtrU.E..UO.,.1.eWUbl,.,6Y1.0.U
> A2Tm.mmBjZ92T,eUXDFTXhhAdX1xB..8,2..606.k22.0sfCbsQXX8Utj00MyfU.Qfc7ix6a,.
> p71...
> --- end of encoding ---
> 
> 
> 
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV@LISTS.OBERON.CH
>

----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV@LISTS.OBERON.CH