Strange corruption
Started by HorusUK


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


20 posts in this topic
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
03-19-2004, 07:39 AM -
#1
I'm not sure if this is System Monitor or TLB that's causing this, but I've been trying to get to the bottom of it for a few days now.

Occasionally, when I go into my TLB menu, I get this corruption on the menu. It's ALWAYS over System Monitor, and it's ALWAYS the same corruption.

[Image: sm_menu1.gif]

Here's the thing I cannot get my head around. The corruption is a partial (corrupted) image of my DK Monitor skins bg.png, but that skin is not loaded in memory so how come it's there? System monitor is running on one of my toolbars, but it's using a different skin.

It happens randomly, and isn't associated to low memory conditions. I'm suspecting a memory leak somewhere, but I'm not sure where. Does anyone else see this?
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
03-19-2004, 08:37 AM -
#2
And, within a short time of posting, I found the answer. The menu shows a png image to the left of the menu item - see Battery Monitor and CD Control in the above image. I had a copy of my bg.png called sysmon.png in the root sysmon folder (I don't know how it got there, so please don't ask), and TLB was trying to load it for display.

Having discovered this "feature", I'm off to see how much I can customize my context menus!

EDIT:

OK, Here's what I found Big Grin

[Image: context_new.gif]

Its possible to completely customize the icons used in the context menu. All you need to do, is create a 16x16 png file and save it into the plugin folder with the same name as the dll. The icons only seem to appear when the menu was opened over a TLB item such as a plugin or a virtual folder. Is this a bug, Yuri?

I deliberately didn't assign an icon for the Spacer so if anyone can suggest an image, I'd like to see it. I thought of using the old programming convention of an inverted triangle that I used to use back in the days of pen and paper flowcharts, but Mrs HorusUK often reminds me I'm a computing dinosaur so I thought better of it!

So, for example.
Battery Monitor uses batmon.dll so you name your png file to batmon.png:
[Image: batmon_example.gif]

Calculator uses tlbcalc.dll so your png is tlbcalc.png

CD Control is ControlCD.dll so your png is ControlCD.png

And so on! You'll need to restart True Launch Bar to see the fruits of your labours. Enjoy Big Grin
ozxar
Member
***


0
241 posts 57 threads Joined: Jan 2004
03-19-2004, 04:46 PM -
#3
cool, i have wanted to put icons on all of them,
instead of just a few on the list, very nice work indeed bug or no bug Smile
Q Section
Weapons Я Us
*****


0
899 posts 100 threads Joined: Feb 2003
03-19-2004, 05:38 PM -
#4
Created a 16x16 .png icon called weathermon.png and placed it in the Weathermon plugin folder. Refreshed TLB several times and no weathermon icon anywhere.???!!!

Perhaps this is an XP "feature"?
HMSS Q Section
click here for 30+ ideas from a Special Plugin List
some examples=
UV Index Monitor, Allergy Monitor, TLB Version Monitor, Cinema Monitor
Visualise World Righteousness
Semper Ad Fundum
Working for the Secret Intelligence Service
ozxar
Member
***


0
241 posts 57 threads Joined: Jan 2004
03-19-2004, 06:05 PM -
#5
QSection try restarting tlb instead of refreshing it ???

i think this was put in by Yuri, cos some of them already had a png in them, like TurnOff n UpTime already had it, love it Big Grin
Yuri Kobets
Posting Freak
*****


10
6,208 posts 429 threads Joined: Jan 2002
03-19-2004, 06:12 PM -
#6
This is the feature Wink
The TORDEX Team
http://www.tordex.com
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
03-19-2004, 06:15 PM -
#7
You dark horse, Yuri!

Right, I'm off to find some other TLB secrets Big Grin
Q Section
Weapons Я Us
*****


0
899 posts 100 threads Joined: Feb 2003
03-19-2004, 06:28 PM -
#8
ozxar Wrote:QSection try restarting tlb instead of refreshing it ???
Yes! That is the secret! Big Grin Big Grin
HMSS Q Section
click here for 30+ ideas from a Special Plugin List
some examples=
UV Index Monitor, Allergy Monitor, TLB Version Monitor, Cinema Monitor
Visualise World Righteousness
Semper Ad Fundum
Working for the Secret Intelligence Service
shapeshifter
Senior Member
****


0
658 posts 24 threads Joined: Sep 2002
03-20-2004, 07:26 AM -
#9
Quote:I deliberately didn't assign an icon for the Spacer so if anyone can suggest an image, I'd like to see it.
Why not just use the icon Yuri uses on the plugin page? Its simple design resizes well to 16x16 and conveys the plugin's purpose nicely. Here's a screenshot:
[Image: spacerpngdemo.gif]
... and the png for anyone who wants it is attached (it's hard to tell, but the background really is transparent).
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
03-20-2004, 08:01 AM -
#10
I missed that one. Thanks shapeshifter!
bbfi
Member
***


0
132 posts 4 threads Joined: Feb 2003
03-20-2004, 08:44 AM -
#11
HorusUK,

Could you zip your context menu png's and post them here? It would be much appreciated by many of us, especially me. Big Grin
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
03-20-2004, 09:05 AM -
#12
bbfi Wrote:Could you zip your context menu png's and post them here? It would be much appreciated by many of us, especially me. Big Grin
Why, of course!

A couple of notes: I've replaced Yuris own icons for Battery Monitor and CD Control, so decide for yourself which you prefer.

For completeness, I also included the Spacer icon that shapeshifter kindly provided.
ozxar
Member
***


0
241 posts 57 threads Joined: Jan 2004
03-20-2004, 09:34 AM -
#13
i was wondering if it is possible to use this feature for the options Separator or Recently Accessed, and some of the top menu level ones like Hide

i have tried putting Separator.png in every folder possble, but no luck ???
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
03-20-2004, 09:39 AM -
#14
The same thought occurred to me, but they're most likely resources in the executable, and without a tool like Resource Hacker, you wouldn't be able to.
ozxar
Member
***


0
241 posts 57 threads Joined: Jan 2004
03-20-2004, 09:43 AM -
#15
yeah thats what i thought too, but when i tried it, none of those images showed up


Forum Jump:


Users browsing this thread: 3 Guest(s)