![]() |
Strange corruption - Printable Version +- Tordex Community (http://forum.tordex.com) +-- Forum: True Launch Bar (http://forum.tordex.com/forum-3.html) +--- Forum: Bugs (http://forum.tordex.com/forum-10.html) +--- Thread: Strange corruption (/thread-1332.html) Pages:
1
2
|
- HorusUK - 03-19-2004 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. ![]() 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 - 03-19-2004 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 ![]() ![]() 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: ![]() 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 ![]() - ozxar - 03-19-2004 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 ![]() - Q Section - 03-19-2004 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"? - ozxar - 03-19-2004 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 ![]() - Yuri Kobets - 03-19-2004 This is the feature ![]() - HorusUK - 03-19-2004 You dark horse, Yuri! Right, I'm off to find some other TLB secrets ![]() - Q Section - 03-19-2004 ozxar Wrote:QSection try restarting tlb instead of refreshing it ???Yes! That is the secret! ![]() ![]() - shapeshifter - 03-20-2004 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: ![]() ... and the png for anyone who wants it is attached (it's hard to tell, but the background really is transparent). - HorusUK - 03-20-2004 I missed that one. Thanks shapeshifter! - bbfi - 03-20-2004 HorusUK, Could you zip your context menu png's and post them here? It would be much appreciated by many of us, especially me. ![]() - HorusUK - 03-20-2004 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.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 - 03-20-2004 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 - 03-20-2004 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 - 03-20-2004 yeah thats what i thought too, but when i tried it, none of those images showed up |