[GOODIE] US NotifyShell

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[GOODIE] US NotifyShell

Udo Schneider
This package allows you to use the traybar in a very easy way. It is based
on Ian's TaskbarIcon Package.

Just create your Application Shell as subclass of NotifyShell (or mutate
existing ones) and
respond to the triggered events.

Comments are highly appreciated.


Udo















begin 666 US NotifyShell.pac
M?"!P86-K86=E('P-"G!A8VMA9V4@.CT@4&%C:V%G92!N86UE.B G55,@3F]T
M:69Y4VAE;&PG+@T*<&%C:V%G92!P87A697)S:6]N.B P.PT*"6)A<VEC0V]M
M;65N=#H@)U53($YO=&EF>5-H96QL#0I59&\@4V-H;F5I9&5R(#Q59&\N4V-H
M;F5I9&5R0&AO;65A9&1R97-S+F1E/B R,# R#0H-"E1H:7,@<&%C:V%G92!C
M;VYT86EN<R!A9&1I=&EO;G,@=&\@=&AE('-T86YD87)D($1O;'!H:6X@4VUA
M;&QT86QK(%-H96QL(&-L87-S('=H:6-H(&%L;&]W<R!Y;W4@=&\@=7-E('1H
M92!T<F%Y8F%R+@T*#0I%>&5C=71E('1H92!F;VQL;W=I;F<@8V]D92!T;R!S
M964@86X@97AA;7!L92!I;7!L96UE;G1A=&EO;B!O9B!T:&4@3F]T:69Y4VAE
M;&P@=VAI8V@@<F5S<&]N9',@=&\@=F%R:6]U<R!E=F5N=',N#0H-"@E.;W1I
M9GE3:&5L;$5X86UP;&4@<VAO=R<N#0H-"G!A8VMA9V4@8F%S:6-086-K86=E
M5F5R<VEO;CH@)S N,# Q)RX-"@T*(D%D9"!T:&4@<&%C:V%G92!S8W)I<'1S
M(@T*#0HB061D('1H92!C;&%S<R!N86UE<RP@;&]O<V4@;65T:&]D(&YA;65S
M+"!G;&]B86P@;F%M97,L(')E<V]U<F-E(&YA;65S(@T*<&%C:V%G92!C;&%S
M<TYA;65S#0H)861D.B C3F]T:69Y4VAE;&P[#0H)861D.B C3F]T:69Y4VAE
M;&Q%>&%M<&QE.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-39%-S0V.3<T-SDT-#8Y-C,W-#8Y-D8V138Q-S(W.4,R
M,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P
M,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P
M,# P,# Q,# P,# P,# P,# P,# P,# P,# P,# V,#$P13 P-$4T1C4T-#DT
M-C4Y-#DT,S1&-$4T-#0Q-30T,3 P,# P,# P,S8P,# Y,# T,C<Y-S0V-30Q
M-S(W,C8Q-SDU.# P,# P,#4X,# P,# P0S0P-#$S,# P,3 P,# P,# W,# P
M,# P-SE#,3 P,#!#1# S,34P,#1%-D8W-#8Y-C8W.3(P-$0V-3<S-S,V,38W
M-C4P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P
M,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P,# P
M,# P,# P,# P,# P1C,X,C Q,# T-C U,#0P,# S,# P,# P-#DV,S9&-D4P
M,# P,# P,# P,# P,# P,3 P,# P,# P13 R,3$P,#4S-30T,C4S-CDV138W
M-D,V-3<T-D8V134P-S(V1C<X-SDP,# P,# P,#=!,# P,# P,# P,# P,# R
M,# Q,# P,#DR,# P,# P,3@P,# P,# T.39$-C$V-S8U-3(V-39#-C$W-#8Y
M-S8V-30V-CDV0S8U-$,V1C8S-C$W-#9&-S(P13 Q,$4P,#4S-30T,C4S-SDV
M1#8R-D8V0S4P-S(V1C<X-SDP,# P,# P,#DR,# P,# P,#<P,# P,# V,S<U
M-S(W,C8U-D4W-#DR,# P,# P,$0P,# P,# U,S8X-C4V0S9#-38V.38U-S<R
M138Y-C,V1C!%,#(Q1C P-3,U-#0R-#4W.#<T-C4W,C9%-C$V0S4R-C4W,S9&
M-S4W,C8S-C4T0S8Y-C(W,C8Q-S(W.34P-S(V1C<X-SDP,# P,# P,#DR,# P
M,# P,3 P,# P,# V-#9&-D,W,#8X-CDV138T-S(S,#,P,S0R138T-D,V0S P
M,# P,# P.3(P,# P,# P13 P,# P,#1%-D8W-#8Y-C8W.3(P-$0V-3<S-S,V
M,38W-C4P-C Q,$8P,#1$-C4W,S<S-C$V-S8U-3,V-3<Q-S4V-39%-C,V-3 P
M,# P,# P,$4P,C$R,# U,S4T-#(T,S9&-D,V0S8U-C,W-#8Y-D8V134P-S(V
M1C<X-SDP,# P,# P,#=!,# P,# P,# P,# P,# R,# Q,# P,#DR,# P,# P
M,3$P,# P,# T1C<R-C0V-3<R-C4V-#0S-D8V0S9#-C4V,S<T-CDV1C9%0S(P
M,# P,# P,C P,# P,# V,#,P0C P-$0V-3<S-S,V,38W-C4U,S8U-D4V-# P
M,# P,# P1D$P,3 P,# P,# P,# P,#DR,# P,# P,3 P,# P,# V,S<R-C4V
M,3<T-C4T,3<T,T$V-3<X-S0V-39%-S0S04,R,# P,# P,#(P,# P,# P-C R
M,#4P,#4P-D8V.39%-S0P,# P,# P,# Q,# P,# P,#$P,# P,# S,C S,# P
M,# P,# P,# P-34P-3 P,# P,3 T,# P,#8P,# P,# P13(P,C P,# P,# P
M,# P,$9!,#$P,# P,# P,# P,# Y,C P,# P,# X,# P,# P-D0V-39%-S4T
M,C8Q-S(S04,R,# P,# P,#$P,# P,# P,# P,# P,#8P,# P,# P,#8P,3!&
M,# U-S0Y-$4T-#1&-3<U,#1#-#$T,S0U-$0T-31%-30P,# P,# P,#<R,#$P
M,# P,D,P,# P,# R0S P,# P,# P,# P,# P,# P,# P,#!&1D9&1D9&1D9&
M1D9&1D9&1D9&1D9&1D9&1D9&1D9&1C P,# P,# P,# P,# P,#!!03 R,# P
M,# P,#(P,# P.4$P,C P,# P,# P,# P,$(P,#(P,# P-# P,3 P,# S,C S
M,# P,# P,# P,# P0S$P,# P,#!#,3 P,# P,# P,# P,# P,34P,# P,# T
M-C U,#0P,# S,# P,# P-#DV,S9&-D4P,# P,# P,# P,# P,# P,3 P,# P
M,# P13 R,3$P,#4S-30T,C4S-CDV138W-D,V-3<T-D8V134P-S(V1C<X-SDP
M,# P,# P,#1%,#(P1# P,#$P,# P,# U,S4T-#(T,S9#-C$W,S<S-3 W,C9&
M-S@W.3 P,# P,# P,S8P,# V,# U,S<T-S(V.39%-C<P-S P,# P,#0T-D8V
M0S<P-C@V.39%,3(P,3 P,# Q.# P,# P,#0Y-D0V,38W-C4U,C8U-D,V,3<T
M-CDW-C8U-#8V.39#-C4T0S9&-C,V,3<T-D8W,C!%,#$P13 P-3,U-#0R-3,W
M.39$-C(V1C9#-3 W,C9&-S@W.3 P,# P,# P,3(P,3 P,# P-S P,# P,#8S
M-S4W,C<R-C4V13<T,3(P,3 P,# P1# P,# P,#4S-C@V-39#-D,U-C8Y-C4W
M-S)%-CDV,S9&,$4P,C%&,# U,S4T-#(T-3<X-S0V-3<R-D4V,39#-3(V-3<S
M-D8W-3<R-C,V-31#-CDV,C<R-C$W,C<Y-3 W,C9&-S@W.3 P,# P,# P,3(P
M,3 P,# Q,# P,# P,#8T-D8V0S<P-C@V.39%-C0W,C,P,S S-#)%-C0V0S9#
0,# P,# P,# G*2DA#0H-"@``
`
end


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Don Rylander-3
Udo,
"Udo Schneider" <[hidden email]> wrote in message
news:3c3d0bd2@tobjects....
> This package allows you to use the traybar in a very easy way. It is based
> on Ian's TaskbarIcon Package.
>
> Just create your Application Shell as subclass of NotifyShell (or mutate
> existing ones) and
> respond to the triggered events.
>
> Comments are highly appreciated.
>
Thanks for doing this.  I was hoping to try it out sooner, but I only now got
round to it.  It works great!  I have a couple of additions and a change that
made it a bit simpler for me to use, particularly in dynamically changing the
tray icon or tip text.  I also made the view hide itself when it's minimized,
so that it doesn't show up in the taskbar.  I included them below, in case they
might be useful to the general public.

Don

>
> Udo
>
>
>
>
>
>


!ShellNotifyView methodsFor!

basicInitializeNotifyStruct

notifyStruct

uID: 1;

icon: notifyIcon;

message: notifyMessage;

tipText: notifyTipMessage displayString.

! !

!ShellNotifyView categoriesFor:
#basicInitializeNotifyStruct!initializing!private! !

!ShellNotifyView methodsFor!

initializeNotifyStruct

notifyStruct := NOTIFYICONDATA new.

notifyMessage := self class registerMessage: 'Dolphin Shell Notification'.

self basicInitializeNotifyStruct.! !

!ShellNotifyView categoriesFor: #initializeNotifyStruct!initializing!private! !

!ShellNotifyView methodsFor!

modifyNotifyIcon

self basicInitializeNotifyStruct.

^ShellLibrary default shell_NotifyIcon: NIM_MODIFY pnid: notifyStruct.! !

!ShellNotifyView categoriesFor: #modifyNotifyIcon!*-unclassified!private! !

!ShellNotifyView methodsFor!

onViewMinimized: aSizeEvent

"Private - ShellNotifyView handler for window minimize. Hide the window, then

hand off to super."

self hide.

^super onViewMinimized: aSizeEvent! !

!ShellNotifyView categoriesFor: #onViewMinimized:!event handling!private! !


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Marc Nijdam-2
"Don Rylander" <[hidden email]> wrote in message news:<a4h8dv$ao1h$[hidden email]>...

> Udo,
> "Udo Schneider" <[hidden email]> wrote in message
> news:3c3d0bd2@tobjects....
> > This package allows you to use the traybar in a very easy way. It is based
> > on Ian's TaskbarIcon Package.
> >
> > Just create your Application Shell as subclass of NotifyShell (or mutate
> > existing ones) and
> > respond to the triggered events.
> >
> > Comments are highly appreciated.
> >
> Thanks for doing this.  I was hoping to try it out sooner, but I only now got
> round to it.  It works great!  I have a couple of additions and a change that
> made it a bit simpler for me to use, particularly in dynamically changing the
> tray icon or tip text.  I also made the view hide itself when it's minimized,
> so that it doesn't show up in the taskbar.  I included them below, in case they
> might be useful to the general public.
>
> Don
>
> >
> > Udo
> >
> >

Great! just what I was looking for! But I can't find the original
package anywhere on the newsgroup or web-sites. Could you send this to
me, or point me at the right place to get it?

Thanks,

Marc


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Udo Schneider
In reply to this post by Don Rylander-3
"Don Rylander" <[hidden email]> schrieb im
Newsbeitrag news:a4h8dv$ao1h$[hidden email]...
> Thanks for doing this.  I was hoping to try it out sooner, but I only now
got
> round to it.  It works great!  I have a couple of additions and a change
that
> made it a bit simpler for me to use, particularly in dynamically changing
the
> tray icon or tip text.  I also made the view hide itself when it's
minimized,
> so that it doesn't show up in the taskbar.  I included them below, in case
they
> might be useful to the general public.

Don,

thanks for the extensions. I'll add them to the package.

Udo


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Udo Schneider
In reply to this post by Marc Nijdam-2
"Marc Nijdam" <[hidden email]> schrieb im Newsbeitrag
news:[hidden email]...
> Great! just what I was looking for! But I can't find the original
> package anywhere on the newsgroup or web-sites. Could you send this to
> me, or point me at the right place to get it?


Marc,

you can find a package with Dons extensions at
http://www.homeaddress.de/US%20NotifyShell.pac .

Udo


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Marc Nijdam-2
In reply to this post by Udo Schneider
"Udo Schneider" <[hidden email]> wrote in message news:<a5r6k9$9lrgc$[hidden email]>...

> "Don Rylander" <[hidden email]> schrieb im
> Newsbeitrag news:a4h8dv$ao1h$[hidden email]...
> > Thanks for doing this.  I was hoping to try it out sooner, but I only now
>  got
> > round to it.  It works great!  I have a couple of additions and a change
>  that
> > made it a bit simpler for me to use, particularly in dynamically changing
>  the
> > tray icon or tip text.  I also made the view hide itself when it's
>  minimized,
> > so that it doesn't show up in the taskbar.  I included them below, in case
>  they
> > might be useful to the general public.
>
> Don,
>
> thanks for the extensions. I'll add them to the package.
>
> Udo

I really, really hope I don't upset either of you with the fact that
I've taken a slightly different approach to TaskbarIcon. I didn't
attach a ShellView to it, since I like the smaller applet approach of
the taskbar icons. I also extended NOTIFYICONDATA to support 2000/XP
based notification balloons and triggers on these. Check out the
following link to see what I mean.

http://www.swiki.net/~men/men/1


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Udo Schneider
"Marc Nijdam" <[hidden email]> schrieb im Newsbeitrag
news:[hidden email]...
> I really, really hope I don't upset either of you with the fact that
> I've taken a slightly different approach to TaskbarIcon. I didn't
> attach a ShellView to it, since I like the smaller applet approach of
> the taskbar icons. I also extended NOTIFYICONDATA to support 2000/XP
> based notification balloons and triggers on these. Check out the
> following link to see what I mean.
>
> http://www.swiki.net/~men/men/1

Marc,

sorry if I wrote like I was upset. I'm definitely not. I'll take a look at
your package. Especially the
balloon support is very interesting.

Udo


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Marc Nijdam-2
Hope you liked what you found... I've uploaded another version at

http://men.swiki.net/

which is actually smaller since it maps most of the normal messages to
view-like messages.

Still working on the presenter as well. I'd like it to do pop-up menus
by default, but having trouble creating a pop-up that behaves like the
oher taskbar icons.

Marc

"Udo Schneider" <[hidden email]> wrote in message news:<a67dcn$bfd3h$[hidden email]>...

> "Marc Nijdam" <[hidden email]> schrieb im Newsbeitrag
> news:[hidden email]...
> > I really, really hope I don't upset either of you with the fact that
> > I've taken a slightly different approach to TaskbarIcon. I didn't
> > attach a ShellView to it, since I like the smaller applet approach of
> > the taskbar icons. I also extended NOTIFYICONDATA to support 2000/XP
> > based notification balloons and triggers on these. Check out the
> > following link to see what I mean.
> >
> > http://www.swiki.net/~men/men/1
>
> Marc,
>
> sorry if I wrote like I was upset. I'm definitely not. I'll take a look at
> your package. Especially the
> balloon support is very interesting.
>
> Udo


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Ian Bartholomew-7
Marc,

> Hope you liked what you found... I've uploaded another version at

Thanks for posting this, and to Udo and Don for the other versions, it's
saved me a lot of fiddling around. It took me a while to work out how to use
it (perhaps including a short demo might help?) but once I had done so it
works very well.

FYI, the only problem I've seen is that, and I'm not really sure why, the
Taskbar icon in a deployed application is occasionally getting sent WM_USER
messages that it doesn't know how to deal with, which causes a Dolphin VM
error report.  Editing TaskbarIcon>>dispatchRegistered: Param:lParam: to
prevent attempts to dispatch messages that it can't handle seems to solve
the problem (so far).

Regards
    Ian


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Ian Bartholomew-7
In reply to this post by Marc Nijdam-2
Marc,

> Hope you liked what you found... I've uploaded another version at

Thanks for posting this, and to Udo and Don for the other versions, it's
saved me a lot of fiddling around. It took me a while to work out how to use
it (perhaps including a short demo might help?) but once I had done so it
works very well.

FYI, the only problem I've seen is that, and I'm not really sure why, the
Taskbar icon in a deployed application is occasionally getting sent WM_USER
messages that it doesn't know how to deal with, which causes a Dolphin VM
error report.  Editing TaskbarIcon>>dispatchRegistered: Param:lParam: to
prevent attempts to dispatch messages that it can't handle seems to solve
the problem (so far).

Regards
    Ian


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Marc Nijdam-2
"Ian Bartholomew" <[hidden email]> wrote in message news:<FT3p8.153130$[hidden email]>...
> Marc,
>
> > Hope you liked what you found... I've uploaded another version at
>
> Thanks for posting this, and to Udo and Don for the other versions, it's
> saved me a lot of fiddling around. It took me a while to work out how to use
> it (perhaps including a short demo might help?) but once I had done so it
> works very well.

Useful feedback. I'll see if I can add a better example in both the
package and class comment. I haven't had much time to work on the
presenter side of TaskbarIcon, since I was toying with popup menus in
taskbars. Still having problems making a popup menu out of the taskbar
behave like other menus there. Are any of you trying to do something
similar?

> FYI, the only problem I've seen is that, and I'm not really sure why, the
> Taskbar icon in a deployed application is occasionally getting sent WM_USER
> messages that it doesn't know how to deal with, which causes a Dolphin VM
> error report.  Editing TaskbarIcon>>dispatchRegistered: Param:lParam: to
> prevent attempts to dispatch messages that it can't handle seems to solve
> the problem (so far).

Funky... Looks like the dispatched might get confused on the actual
current focus of the application (or icon) since the icon is actually
a full handle (unlike in Udo's example). I'm assuming that you're not
seeing any adverse side-effects by ignoring unhandled messages? I'll
mod this in the package and upload a new version soon...

Thanks for the feedback,

Marc


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Ian Bartholomew-7
Marc,

> Useful feedback. I'll see if I can add a better example in both the
> package and class comment. I haven't had much time to work on the
> presenter side of TaskbarIcon, since I was toying with popup menus in
> taskbars. Still having problems making a popup menu out of the taskbar
> behave like other menus there. Are any of you trying to do something
> similar?

Not at the moment. I really just need to show/hide a permanantly running
Dolphin application, it hasn't got anything that could usefully be done from
a pop up menu.  I'll have a play if I get a chance.

> Funky... Looks like the dispatched might get confused on the actual
> current focus of the application (or icon) since the icon is actually
> a full handle (unlike in Udo's example).

Yes, that sounds very possible. I seem to recall that the walkback often
happened after closing a dialog - where the view with focus was changing.

>  I'm assuming that you're not
> seeing any adverse side-effects by ignoring unhandled messages?

I would have said no, now I'm not so sure. In the last couple of days my
system (running XP) has twice performed a full reboot while I was in the
middle of doing something - I can't remember it happening before when I was
running my application using the "normal" task bar.  The application in
question wakes up every 15 seconds to do a check so it could possibly be
some timing coincidence between the various views and the taskbar icon that
causes the problem.

It may, of course, be something completely unconnected.

I'll let you know if I come across anything relevant

Ian


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Ian Bartholomew-7
In reply to this post by Marc Nijdam-2
Marc,

> Useful feedback. I'll see if I can add a better example in both the
> package and class comment. I haven't had much time to work on the
> presenter side of TaskbarIcon, since I was toying with popup menus in
> taskbars. Still having problems making a popup menu out of the taskbar
> behave like other menus there. Are any of you trying to do something
> similar?

Not at the moment. I really just need to show/hide a permanantly running
Dolphin application, it hasn't got anything that could usefully be done from
a pop up menu.  I'll have a play if I get a chance.

> Funky... Looks like the dispatched might get confused on the actual
> current focus of the application (or icon) since the icon is actually
> a full handle (unlike in Udo's example).

Yes, that sounds very possible. I seem to recall that the walkback often
happened after closing a dialog - where the view with focus was changing.

>  I'm assuming that you're not
> seeing any adverse side-effects by ignoring unhandled messages?

I would have said no, now I'm not so sure. In the last couple of days my
system (running XP) has twice performed a full reboot while I was in the
middle of doing something - I can't remember it happening before when I was
running my application using the "normal" task bar.  The application in
question wakes up every 15 seconds to do a check so it could possibly be
some timing coincidence between the various views and the taskbar icon that
causes the problem.

It may, of course, be something completely unconnected.

I'll let you know if I come across anything relevant

Ian


Reply | Threaded
Open this post in threaded view
|

Re: [GOODIE] US NotifyShell

Don Rylander-3
In reply to this post by Marc Nijdam-2
Marc,
"Marc Nijdam" <[hidden email]> wrote in message
news:[hidden email]...
> "Ian Bartholomew" <[hidden email]> wrote in message
news:<FT3p8.153130$[hidden email]>...
[...]
> taskbars. Still having problems making a popup menu out of the taskbar
> behave like other menus there. Are any of you trying to do something
> similar?
[...]

I build dynamically a pop-up menu for the tray icon.  In general it works fine.
The only problem is that disabled menu items do not display as such; they still
look enabled, even though the behave properly (clicking on a disabled item
makes the "don't do that" sound, and nothing else happens).  I hate to admit
it, but I haven't had a chance to look at the differences between your package
and Udo's; once my little app was doing its job, it was time to move on to the
next hugely important major initiative ;-).  Anyway, I briefly experimented
with using just a ShellPresenter (instead of NotifyShell) with both a ShellView
and Udo's ShellNotifyView, but, as I recall (a *big* caveat), there was some
problem with popping up the menu in the right location and setting command
targets properly.  I didn't spend much time going down that path before
deciding it was simpler to implement the way Udo had originally done it, since
that made it simpler to get the menu to pop up in the right place and to get
command queries to follow the right path.  If this sounds like something that
might help with your problem, let me know, and I'll try to give you more
detail.

Don