Re: Moving MsgBox



"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





.



Relevant Pages

  • Re: Is it possible to remove 3rd party app icon from systray?
    ... that creates chaos in the systray. ... close the icon, ... My app starts the 3rd party app using runas, ... for command line options your 3rd party app might support. ...
    (microsoft.public.vb.general.discussion)
  • Re: repeat something in a thread, but stop when the program stops
    ... > very tiny amount of work every half a second, ... For example, if a program puts an icon in the Windows systray, then it ... Apps in the systray often do a lot more than just that too. ... A Python thread waking up to see whether a Python Queue has something ...
    (comp.lang.python)
  • Re: Some Systray icons disapear after explorer crash
    ... >> Some of my systray icons dissapear after the explorer ... >> explorer crashed, how would you get these icons to stay when explorer ... > when the app starts, it places it's icon in the system tray by telling ...
    (microsoft.public.windowsxp.general)
  • Re: Volume Control does not stay in Sys Tray
    ... SNDVOL32.exe from appearing in the SYSTRAY. ... > Troubleshooting the Volume Control Icon ... > Volume Icon Is Displayed Incorrectly in the Notification Area After the ...
    (microsoft.public.windowsxp.general)
  • Re: Moving MsgBox
    ... started building a systray in my project using a DLL from the ... "This would be a control that is a standalone fully functional system ... OCX's is for placing an icon in the Systray, not a system tray ...
    (microsoft.public.vb.general.discussion)