VistaStyleBuilder

Help => Windows 7 => Topic started by: Yushatak on September 13, 2010, 02:14:57 pm



Title: IMAGECOUNT and SIZINGMARGIN Problems
Post by: Yushatak on September 13, 2010, 02:14:57 pm
I found a.. bug? I have "IMAGECOUNT" set to one. If I expand the image in question past twice as large as it's original size, suddenly it turns into two image, active and inactive, as defined by it's sub-images, regardless of the fact that I told VSB that it's one image via IMAGECOUNT.

The image in question is left aero frame border..

I found this oddness trying to figure out why SIZINGMARGINS weren't working right, and had discovered that in this particular case it was because the image was being split into two without my permission, thusly screwing with the margin numbers.

However, upon moving to the bottom frame to do work, I found that when creating an image of 41 width, with 2px black lines 19px out, the lines appear closer to 2/3 that distance from their intended location..

This confuses me. Obviously there's something I'm not taking into account, or else there are some bugs.


Title: Re: IMAGECOUNT and SIZINGMARGIN Problems
Post by: 3am on September 13, 2010, 06:45:15 pm
The IMAGECOUNT:INT for Windows and Caption Buttons > Aero > Dwm Window > Frames > Normal > Left is 2 because it consists of 2 images: Active and Inactive. Changing it to 1 makes no sense.


Title: Re: IMAGECOUNT and SIZINGMARGIN Problems
Post by: Yushatak on September 13, 2010, 06:51:07 pm
The odd thing is that it was set to 1 to begin with - it surprised me when I realized there were two states in the first place.

Anywho, that aside, there's still a weirdness going on with my margins.. I'll do a screencap vid of what I mean, that seems to illustrate the best.

Edit:
http://www.youtube.com/watch?v=hlhX_dLwt7A


Title: Re: IMAGECOUNT and SIZINGMARGIN Problems
Post by: Yushatak on September 14, 2010, 02:31:54 pm
If I can test anything or give more information, please let me know. I'd like to get this fixed.


Title: Re: IMAGECOUNT and SIZINGMARGIN Problems
Post by: sunbeam2000 on September 14, 2010, 03:14:29 pm
you can only set some imagecounts to 1 when there are no active/inactive subclasses, like in Scrollbars, Pushbuttons or something...

The Aero Frames are in the Stream image, WSB separates them for editing purposes.

these parts are kind of hardcoded and follow some other principles..
For example these AeroFrameImages (as the captionbuttons,too) need an 1px frame in resource, which isn't displayed