AllzLoZT
November 24th, 2003, 23:00
Im using a program (I purchased it) that for the most part runs invisibly. However it has an icon in the Notification area of the taskbar. I would like to reverse this so that it runs normally without the icon appearing.
If anyone could point me to a tut or a decent starting point it would be much appreciated.
thanks in advance
Woodmann
November 24th, 2003, 23:45
Howdy,
Are you sure there is no option to run in hide mode ?
Send me a PM with the link if you still need help.
Woodmann
Kayaker
November 25th, 2003, 01:00
Hi,
Woodmann may be right, especially if it's *supposed* to run invisibly (saw a keylogger once with a notif. icon!), if not you may be able to find a Shell_NotifyIcon call, which is the usual way of creating those icons.
A quick patch might be as easy as replacing a call similar to
invoke Shell_NotifyIcon, NIM_ADD, ADDR nid
(Adds an icon to the taskbar status area)
to
invoke Shell_NotifyIcon, NIM_DELETE, ADDR nid
(Deletes an icon from the taskbar status area)
You'll have to find out the hex values for NIM_ADD, so you can recognize it as such, and NIM_DELETE. (ADDR nid is a pointer to a NOTIFYICONDATA structure which will have already been initialized).
You might have to mess with it a bit more depending on how and where it's used. If the app cleans up after itself, it *should* use NIM_DELETE on closing (some don't and that's why you get "ghost" icons with some poorly programmed apps).
Kayaker
Powered by vBulletin® Version 4.2.2 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.