TheSwamp

CAD Forums => CAD General => Topic started by: KewlToyZ on April 30, 2012, 07:46:18 PM

Title: Button Bitmap oddity?
Post by: KewlToyZ on April 30, 2012, 07:46:18 PM
I am going through doing some cleanup of legacy items.
Anyway, I was looking to cleanout the CUIx files and erroneous buttons.
I extract the contents to a folder in Windows 7 and see this really odd spacing issue with the bitmap thumbs:
Title: Re: Button Bitmap oddity?
Post by: KewlToyZ on April 30, 2012, 07:56:10 PM
I'm trying to figure out what is causing the bitmaps to expand their area in thumb nailing format.
Is there a way to see header and data information in bitmaps in a bit more legible format than notepad??
Title: Re: Button Bitmap oddity?
Post by: Keith™ on May 01, 2012, 12:39:45 AM
Interesting ... have you tried different views? How about opening one of each apparent size in an image editor and compare them.
Title: Re: Button Bitmap oddity?
Post by: KewlToyZ on May 01, 2012, 06:20:48 AM
I was trying the file information in PSP7 & TextPad.
Not having much luck seeing a pattern to indicate the reason for it.
Just really strange bug with Windows Thumbnail cache.  :ugly:

Still cleaning out old CUI duplicates of buttons and replacing them with the same instance ID.
Surprising how many accumulated over the years of upgrades.
Title: Re: Button Bitmap oddity?
Post by: Keith™ on May 01, 2012, 10:11:02 AM
Create a resource DLL and store them there .. it will make managing them much simpler.
Title: Re: Button Bitmap oddity?
Post by: KewlToyZ on May 01, 2012, 02:09:35 PM
Yeah once the 2013 CUIx is built and cleaned up I may finally go back and do it.
I've always meant to clean up this stuff just never got the time.
I have a lot of legacy commands to remove too that just don't do much for the average user and should just remain in my management box.

I wondered if over all of the builds and imports and setups from 2004 until now, whether the use of them (16x16) in place as Large (32x32) maps in menus may have designated some info into the bmp file. Even if it wasn't meant to. Just peculiar and a curiosity.