Re: Moving MsgBox
- From: DanS <t.h.i.s.n.t.h.a.t@xxxxxxxxxxxxxxxxxxxxx>
- Date: 10 Jun 2008 16:44:58 GMT
"Bill McCarthy" <Bill@xxxxxxxxxx> wrote in
news:5C34F7B2-197C-429B-BE90-0500B459FCA5@xxxxxxxxxxxxx:
"DanS" <t.h.i.s.n.t.h.a.t@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:Xns9AB96B340EA33thisnthatadelphianet@xxxxxxxxxxxxxxxxx
"Bill McCarthy" <Bill@xxxxxxxxxx> wrote in
news:600002B9-B031-4697-8CFB-360801061F7E@xxxxxxxxxxxxx:
There's plenty of Systray.ocx's, I think Microsoft even released
the code for one. I don't ever recall memory footprint being an
issue there.
Can you show me one ? I looked, for a long time to no avail. I then
started building a systray in my project using a DLL from the
LiteStep distribution, and finally had enough and just coded it
from scratch.
I haven't got on this machine, but I just did a quick google :
http://groups.google.com/group/microsoft.public.vb.general.discussion
/m sg/ca116cb172a889ab?dmode=source
Apparently it was on CD2 of Visual Studio back in 1999 :)
That's not it. That is exactly what I was NOT referring to in my
OP...
"This would be a control that is a standalone fully functional system
tray, complete with mouse click callbacks and all, NOT something to
place an icon in the systray."
What you had pointed to, and what there are a thousand examples
of/and OCX's is for placing an icon in the Systray, not a system tray
replacement as I have done.
Ah ! That makes sense given you have created your own shell, which
isn't very common. So does your systray replacement intercept or
receive Shell_NotifyIcon messages ?
Of course it does. It works properly also, as it displays exactly as
Explorer's intrinsic system tray...i.e. ZoneAlarm has red and green
vertical bar graph's in their system tray icon to show UL & DL activity,
ProcessExplorer's systray icon shows the CPU usage graph in it's systray
icon.....and all of those are seen as 'animated' using my systray too.
IIRC, (it's been a long time since I looked at that part of the code) all
it takes is to register the window to receive shell notifications, and
then subclass those notifications to act on them. The 'animated' icons,
like the samples above, are not really animated icons. The program's that
do that actually send a NotifyIcon message to replace the current icon it
has.
Regards,
DanS
.
- References:
- Moving MsgBox
- From: LondonLad
- Re: Moving MsgBox
- From: NeilH
- Re: Moving MsgBox
- From: Bill McCarthy
- Re: Moving MsgBox
- From: DanS
- Re: Moving MsgBox
- From: Bill McCarthy
- Re: Moving MsgBox
- From: DanS
- Re: Moving MsgBox
- From: Bill McCarthy
- Re: Moving MsgBox
- From: DanS
- Re: Moving MsgBox
- From: Bill McCarthy
- Re: Moving MsgBox
- From: DanS
- Re: Moving MsgBox
- From: Bill McCarthy
- Moving MsgBox
- Prev by Date: Re: i really need help!
- Next by Date: Re: i really need help!
- Previous by thread: Re: Moving MsgBox
- Next by thread: Re: Moving MsgBox
- Index(es):
Relevant Pages
|