RLA
Beginner
Posts: 10
|
|
« Reply #4 on: July 23, 2013, 03:01:45 pm » |
|
Hi, 3am. 1) Use the maps to find out msstyles locations for windows etc Do you mean the maps section in this forum? 2) Use the Status Bar for Class, Part and State information
If you don't have a Status Bar then either download the Beta where it's activated by default or make a new shortcut on your desktop with the address in a form like "C:\Program Files (x86)\AveApps\Windows Style Builder\VistaStyleBuilder.exe" -debug, put the shortcut at the address and use this to open WSB. You need those quotes and then a space and then -debug. If you have a 32 bit OS then Program Files (x86) will just be Program Files
Once you get the Status Bar you'll find the info in this form:
For example: Explorer & Shell > Explorer > Items View > ListView you'll see
"Itemsview::Listview (#61) inherits from Explorer::Listview (#60), part #0, state #0"
which you convert to the syntax of (Itemsview::Listview, 0, 0, Property ID you have to look up)
Itemsview::Listview is the Class Excellent info. This should be sticky in this forum. Thank you very much. 3) You could apply the Classic theme and then open Personalization > Windows Color and Appearance > Advanced Appearance Settings to find default Classic colors etc I think that this won't give the names of the colors and fonts as it should be used with themeable(), but it helps a lot to figure out which color and font is each string pointing to. I found such a list by looking into the classic styles *.theme files. The list of fonts is nicely listed there: [Metrics] CaptionFont=@themeui.dll,-2037 SmCaptionFont=@themeui.dll,-2038 MenuFont=@themeui.dll,-2039 StatusFont=@themeui.dll,-2040 MessageFont=@themeui.dll,-2041 IconFont=@themeui.dll,-2042 The colors and sizes are given through a reference to themeui.dll. I've don't digged there that much, but Google has found what looks like a list of colors, fonts and sizes suitable for themeable() use. They are in various places of the Windows registry: [HKEY_CURRENT_USER\Control Panel\Desktop\Colors] "ActiveBorder"="212 208 200" "ActiveTitle"="10 36 106" "AppWorkSpace"="128 128 128" "ButtonAlternateFace"="181 181 181" "ButtonDkShadow"="64 64 64" "ButtonFace"="212 208 200" "ButtonHiLight"="255 255 255" "ButtonLight"="212 208 200" "ButtonShadow"="128 128 128" "ButtonText"="0 0 0" "GradientActiveTitle"="166 202 240" "GradientInactiveTitle"="192 192 192" "GrayText"="128 128 128" "Hilight"="10 36 106" "HilightText"="255 255 255" "HotTrackingColor"="0 0 128" "InactiveBorder"="212 208 200" "InactiveTitle"="128 128 128" "InactiveTitleText"="212 208 200" "InfoText"="0 0 0" "InfoWindow"="255 255 255" "Menu"="212 208 200" "MenuText"="0 0 0" "Scrollbar"="212 208 200" "TitleText"="255 255 255" "Window"="255 255 255" "WindowFrame"="0 0 0" "WindowText"="0 0 0"
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics] "BorderWidth"="-15" "CaptionFont"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\ 00,00,00,01,00,00,04,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 "CaptionHeight"="-315" "CaptionWidth"="-315" "IconFont"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\ 00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 "IconTitleWrap"="1" "MenuFont"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\ 00,00,01,00,00,04,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 "MenuHeight"="-285" "MenuWidth"="-285" "MessageFont"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\ 00,00,00,01,00,00,04,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 "ScrollHeight"="-255" "ScrollWidth"="-255" "SmCaptionFont"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,\ 00,00,00,00,01,00,00,04,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 "SmCaptionHeight"="-255" "SmCaptionWidth"="-255" "StatusFont"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\ 00,00,00,01,00,00,04,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 "Shell Icon Size"="32" "AppliedDPI"=dword:00000060 "PaddedBorderWidth"="-60" "IconSpacing"="-960" "IconVerticalSpacing"="-960" "MinAnimate"="0"
I've seen "windowtext" and "menufont" being used a lot in the XML UIFILES, so probably most of these values will work there just like them.
|
|
|
Logged
|
|
|
|