<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>winJade &#187; hax</title>
	<atom:link href="http://winjade.net/tag/hax/feed/" rel="self" type="application/rss+xml" />
	<link>http://winjade.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 27 Jun 2010 23:47:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Vista Style Builder</title>
		<link>http://winjade.net/2008/06/vista-style-builder/</link>
		<comments>http://winjade.net/2008/06/vista-style-builder/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 17:37:25 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips/Tricks/Hacks]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Ave]]></category>
		<category><![CDATA[hax]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://www.aeroxp.org/?p=71</guid>
		<description><![CDATA[The last couple of weeks, I have been working incredibly hard on a tool to create Vista Style Builder. Vista Style Builder supports everything that is needed to create Visual Styles for Vista:

Import and export images
Change, add or remove properties
Import and export STREAM images
Compile into a totally new MsStyles-file

In this post I will highlight some details [...]]]></description>
			<content:encoded><![CDATA[<p>The last couple of weeks, I have been working incredibly hard on a tool to create Vista Style Builder. Vista Style Builder supports everything that is needed to create Visual Styles for Vista:</p>
<ul>
<li>Import and export images</li>
<li>Change, add or remove properties</li>
<li>Import and export <em>STREAM</em> images</li>
<li>Compile into a totally new MsStyles-file</li>
</ul>
<p>In this post I will highlight some details of Vista Style Builder (VSB) which show how much easier this application makes it to edit MsStyles.</p>
<p><span id="more-71"></span></p>
<h3>The Main Window</h3>
<p style="text-align: center;"><a href="http://winjade.net/wp-content/uploads/2008/06/main.png"><img class="alignnone size-full wp-image-72 aligncenter" src="http://winjade.net/wp-content/uploads/2008/06/main.png" alt="" width="500" height="396" /></a></p>
<p>Most of the time when creating Visual Styles, you will be looking at the main window of VSB. This main window exists basically of four parts:</p>
<ul>
<li>The command bar in the top of the window to do things</li>
<li>The UI parts browser on the left which displays every UI part in a MsStyle neatly grouped into categories</li>
<li>The Preview pane, which will show the images used in a UI part</li>
<li>The property view in the bottomright, showing an editable list of all properties for a UI part</li>
</ul>
<p>As you might notice, there is no menu bar anymore. In line with most Vista applications, VSB uses a commandbar for all possible actions that can be done.</p>
<h3>Importing Images</h3>
<p>VSB allows a user to export the images used in a Visual Style in order to edited the images in an external application, such as Adobe Photoshop. It is possible to export a strip of images (e.g. all different button states in one image), but it is also possible to just export one state of an image (e.g. the button-pressed image).</p>
<p>Importing is done in a similar fashion: you can import an image with all states or just one state directly. VSB always provides a default name for importing and exporting, so if you follow that naming schemes, you can quickly import and export images.</p>
<p>VSB will notice it if you try to import an image of different dimensions than the original; it will actually ask you what you want to do:</p>
<p style="text-align: center;"><a href="http://winjade.net/wp-content/uploads/2008/06/resize.png"><img class="alignnone size-full wp-image-73 aligncenter" src="http://winjade.net/wp-content/uploads/2008/06/resize.png" alt="" width="500" height="268" /></a></p>
<h3>Alpha Channel Importing</h3>
<p>One of the problems people are currently facing with Vista Styles is that photoshop and Vista uses a slightly &#8211; or so it seems &#8211; different format: the alpha channel comes out wrong in MsStyles for files imported manually.<br />
Vista Style Builder fixes this incompatibility when importing images.</p>
<h3>Adding Properties</h3>
<p>Another feature in VSB is the possibility to add new properties to UI parts. This makes it possible, for example, to give the taskbar fonts a glow or even make the breadcrumb bar glow.</p>
<p style="text-align: center;"><a href="http://winjade.net/wp-content/uploads/2008/06/addprop.png"><img class="alignnone size-full wp-image-74 aligncenter" src="http://winjade.net/wp-content/uploads/2008/06/addprop.png" alt="" width="500" height="197" /></a></p>
<p>Properties are added through a easy to use dialog which allows you to select the type of property (e.g. enum or color), the name (e.g. iconeffect or textcolor) and the value. For enumeration-types, such as Iconeffect, a listbox will automatically show all possible values.</p>
<h3>StyleHacks</h3>
<p>People often want to change the same things in their Visual Styles. Some good examples are a thinner taskbar and a small startmenu. Most of the time, these things involve editing a number of properties in some unexpected way.</p>
<p>To make it easier for everyone to use often done things in their styles we invented StyleHacks in VSB. A StyleHack is an easy way to apply an often done thing (a`hack`) to your Visual Style. For example, there is a StyleHack to change the height of the taskbar to 18px.</p>
<p>Visual Style Builder provides an in-application menu to browse the available StyleHacks with a preview image and apply them with a click of the mouse:</p>
<p style="text-align: center;"><a href="http://winjade.net/wp-content/uploads/2008/06/stylehacks.png"><img class="alignnone size-full wp-image-75 aligncenter" src="http://winjade.net/wp-content/uploads/2008/06/stylehacks.png" alt="" width="500" height="389" /></a></p>
<h3>Import XP Styles</h3>
<p>A featue of Visual Style Builder that has been secret until now is the ability to <strong>Import XP MsStyles.</strong><br />
That&#8217;s right, VSB makes it possible to use your favorite XP Styles on Vista! Most XP Styles only need some small modifications after importing to work correctly on Vista .</p>
<p>Here&#8217;s an example of XP Luna after having it converted to a Vista Style after importing:</p>
<p><a href="http://winjade.net/wp-content/uploads/2008/06/lunaxp.png"></a><br />
As you can see, the dialog uses the Luna window borders as well as Luna buttons. As a bonus, the Luna theme got dropshadows and is rendered by the DWM. For this theme, I opted to keep the Aero buttons because I personally think they look great on the Luna theme.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-76 aligncenter" src="http://winjade.net/wp-content/uploads/2008/06/lunaxp.png" alt="" width="410" height="207" /></p>
<p>Of course, not all themes can be imported 100% correctly: Vista has some more restrictions on the window frames than XP had. However, it will make porting much easier and it works for a lot of themes without modifications.</p>
<h3>Availability and price</h3>
<p>The big question is now when will VSB be available? Unfortunately, I can&#8217;t really give a date yet. The technical side of the application is completely done; the business side, however, is not.</p>
<p>I know a lot of people expect this application to be free, but I can tell you that it will not be free. There went a lot of work in VSB and, at the very least, I need to earn the invested time back.</p>
<p><em><strong>Editor&#8217;s Note:</strong> A distribution policy for Vista Style Builder and AeroXperience members is currently being researched</em></p>
]]></content:encoded>
			<wfw:commentRss>http://winjade.net/2008/06/vista-style-builder/feed/</wfw:commentRss>
		<slash:comments>74</slash:comments>
		</item>
		<item>
		<title>Adding custom buttons to the Explorer command bar</title>
		<link>http://winjade.net/2008/06/custom-explorer-buttons/</link>
		<comments>http://winjade.net/2008/06/custom-explorer-buttons/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 01:26:56 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[Tips/Tricks/Hacks]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Ave]]></category>
		<category><![CDATA[customization]]></category>
		<category><![CDATA[hax]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.aeroxp.org/?p=58</guid>
		<description><![CDATA[With Vista, Microsoft redesigned Windows Explorer a lot. One of the biggest changes was the removal of the customizable toolbar. Up to Windows XP, adding or removing the buttons that were displayed in Explorer was a simple chore.
With Vista, this customization ability is gone; the toolbar is replaced by a so-called green shaded &#8220;commandbar,&#8221; and [...]]]></description>
			<content:encoded><![CDATA[<p>With Vista, Microsoft redesigned Windows Explorer a lot. One of the biggest changes was the removal of the customizable toolbar. Up to Windows XP, adding or removing the buttons that were displayed in Explorer was a simple chore.<br />
With Vista, this customization ability is gone; the toolbar is replaced by a so-called green shaded &#8220;commandbar,&#8221; and none of it can be customized unless you are willing to take a dive into the registry.</p>
<p><img src="http://winjade.net/wp-content/uploads/2008/06/naamloos.jpg" alt="" /></p>
<p>In this post, I will show you a way to add custom buttons &#8212; like in the above image &#8212; to the commandbar by adding items to the registry. Unfortunately, not all buttons (e.g. New Folder) are possible via this way.</p>
<p><span id="more-58"></span></p>
<h3>The registry key</h3>
<p>We start by opening up regedit as administrator (start, type regedit and hit enter. Accept the UAC prompt if you have UAC enabled). Once inside regedit, we navigate to the following key:</p>
<pre style="font-size: 12px; padding-left: 30px;">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\FolderTypes</pre>
<p>Under this key, you&#8217;ll see a list of numbers in the format of {de2b70ec-9bf7-4a93-bd3d-243f7881d492}. These numbers are CLSIDs and represent the special folders such as Documents, Music, Drives in Explorer.<br />
Most of the CLSIDs can be figured out by clicking the registry key and looking at the <em>CanonicalName</em>. For example, {de2b70ec-9bf7-4a93-bd3d-243f7881d492} has its CanonicalName set to Directory.Contacts, so it is likely that these CLSID refers to the Contacts folder.</p>
<h3>TaskNoItemsSelected</h3>
<p>Under some of the CLSID registry keys, you&#8217;ll see another key named <strong>TaskNoItemsSelected</strong>. For example, {de2b70ec-9bf7-4a93-bd3d-243f7881d492} (the Contacts folder) has this subkey. If you further expand this key, you will see that it has numbered subkeys 0, 1, 2 and 3.<br />
These subkeys actually contain a description of the buttons that are added to the commandbar when no item is selected in the Contacts folder.</p>
<h3>Editing TaskNoItemsSelected</h3>
<p>Before we can edit this registry key, you need to make sure you have the proper rights to do so. On a fresh install, only the installer can write or modify these registry keys.<br />
If you plan on editing some of the button, take ownership of the FolderTypes registry key by right-clicking it and selecting <strong>Permissions</strong>. Next, click <strong>Advanced</strong> and go to the <strong>Owner</strong> tab. In here, you can select your own user or the Administrators group as the new owner. Before hitting OK, tick the bottom-most checkbox saying something along the lines of &#8216;Replace owner of the underlying objects&#8217;.<br />
After doing this, you now have the proper rights to edit the FolderTypes.</p>
<p>We start by adding a new key under the  {de2b70ec-9bf7-4a93-bd3d-243f7881d492}\TaskNoItemsSelected key. We name it <strong>4</strong>, since 0 to 3 already exists.</p>
<p>The next thing we need to do is add another subkey under the 4 key, which needs to be a unique and long number (called a GUID). For generating GUIDs, we use the following tool: <a href="http://www.somacon.com/p113.php">http://www.somacon.com/p113.php</a> . Hit the Generate UUID/GUID button and copy the GUID to the clipboard. We got the {61C0D9CB-BB72-4013-8769-EC628B50C351} GUID from this tool.<br />
Now we got a GUID, we add it under TaskNoItemsSelected\4 as a subkey, so we end up with the key:</p>
<pre style="font-size: 12px; padding-left: 30px;">\TasksNoItemsSelected\4\{61C0D9CB-BB72-4013-8769-EC628B50C351}</pre>
<p>In this key, we add the following values in the right pane:</p>
<ul>
<li>(default), Character string, with a value of <em>MyButton</em></li>
<li>Icon, Expendable Character string, with a value of <em>c:\windows\system32\calc.exe, 0</em></li>
<li>InfoTip, Character string, with a value of <em>My Custom Tooltip</em></li>
<li>Title, Character string, with a value of <em>My Custom Item</em></li>
</ul>
<p>When done right, you&#8217;ll end up with:<br />
<img src="http://winjade.net/wp-content/uploads/2008/06/customregvalues.jpg" alt="" /></p>
<p>These values let Explorer know how our button should look like. They are self-explanatory, except for Icon, which takes a string in the form of PathToExeOrDllFile, iconNumber. In our example, we tell Explorer to use the first Icon from the Calculator.</p>
<p>We now have told Explorer what our custom button looks like, but not what it should do. We do this by adding a the following subkeys to our custom-button key: <strong>shell\InvokeTask\command</strong>. In the command key, we change the (Default) value to the application we want to launch when the button is clicked. Let&#8217;s put in c:\windows\system32\calc.exe to launch calc.</p>
<p>If you did everything right, you ended up with the following key structure under FolderTypes:<br />
<img src="http://winjade.net/wp-content/uploads/2008/06/custombuttonreg.jpg" alt="" /></p>
<p>Now, if you go into the Contacts folder, you will see a <strong><em>My Custom Item</em></strong> button, which, when clicked, will launch the Calculator.</p>
<p>Next time we will delve into the TasksItemsSelected list, which has some additional properties!</p>
]]></content:encoded>
			<wfw:commentRss>http://winjade.net/2008/06/custom-explorer-buttons/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Vista Customization: Changing Times (AveStyle)</title>
		<link>http://winjade.net/2008/06/vista-customization-changing-times-avestyle/</link>
		<comments>http://winjade.net/2008/06/vista-customization-changing-times-avestyle/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 18:29:12 +0000</pubDate>
		<dc:creator>UK.Intel</dc:creator>
				<category><![CDATA[Tips/Tricks/Hacks]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[hax]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[What's Next]]></category>

		<guid isPermaLink="false">http://www.aeroxp.org/?p=50</guid>
		<description><![CDATA[Goodbye Resource Hackers and Hex-Editors. Hello Visual Style Builders.
Yes that’s right, Builders! This week, AeroXperience was the first to get exclusive previews from Andreas Verhoeven&#8217;s Vista Style Builder.
I happen to be one of the fortunate people testing this application and giving feedback to Andreas mostly from an End-users Perspective. This Application does everything we could [...]]]></description>
			<content:encoded><![CDATA[<p>Goodbye Resource Hackers and Hex-Editors. Hello Visual Style Builders.</p>
<p>Yes that’s right, Builders! This week, AeroXperience was the first to get exclusive previews from Andreas Verhoeven&#8217;s Vista Style Builder.</p>
<p>I happen to be one of the fortunate people testing this application and giving feedback to Andreas mostly from an End-users Perspective. This Application does everything we could do before plus loads more. Whereas before we could only see numbers for images, now we will be looking at descriptions or, at the very least, class names. Instead of Hex-editing, we can insert/edit class properties using a language we can one day understand. At the moment, most of us will not understand what each Visual Style class does as they have not been publicly documented, so this is where I hope to step in and help.</p>
<p>I don’t want to Speak for Andreas as I am sure you will be hearing from him soon, but from what I gather, his plan is to make an application that the end-user can understand and use easily. Due to the large content of .msstyles, that will not be an easy thing to do. At the moment Avestyle is a Work in progress, but Andreas worked hard to make the application as usable and functional as possible. The actual core of the application works beautifully, but the UI is still in the process of being built. In the early builds, the Vista classes will be displayed in the application with the class name and a description.I am currently researching these classes to organize the Treeview in the application in a way where the user can find what he/she is looking for.</p>
<p>So Instead of researching image numbers and variant hex-edits, I will be focusing my attention on researching Vista class names and property names. This will most likely be more useful to us all as I am really confident that AveStyle is the way forward. Look out for more blog’s right here at AeroXperience about the new Customizing possibilities avestyle has to offer.</p>
<p><a href="http://www.vistastylebuilder.com/" target="_blank">www.vistastylebuilder.com</a> | <a title="Aves Pages" href="http://www.aveapps.com/" target="_blank">Aves Pages</a> | <a title="AeroXp Forum Disussion" href="http://www.aeroxp.org/board/index.php?showtopic=11282" target="_blank">AeroXperience Forum Discussion</a></p>
<p>If anybody else would like to start getting familiar with class and property names, you will find the following links useful.</p>
<ul>
<li><a title="Vista Visual Style Class names" href="http://ukintel.deviantart.com/art/Vista-Visual-Style-Classes-87482323" target="_blank">Vista Visual Style Class names</a></li>
<li><a title="Property Identifiers" href="http://msdn.microsoft.com/en-us/library/bb773213.aspx" target="_blank">Property Identifiers</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://winjade.net/2008/06/vista-customization-changing-times-avestyle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Vista Customization: The Story So far</title>
		<link>http://winjade.net/2008/06/vista-customization-the-story-so-far/</link>
		<comments>http://winjade.net/2008/06/vista-customization-the-story-so-far/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 14:30:04 +0000</pubDate>
		<dc:creator>UK.Intel</dc:creator>
				<category><![CDATA[Tips/Tricks/Hacks]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[hax]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[What’s Done]]></category>

		<guid isPermaLink="false">http://www.aeroxp.org/?p=49</guid>
		<description><![CDATA[This is my first blog post, so I am just going to take a minute to introduce myself. I joined AeroXperience mostly for tips and tricks on customizing Vista. It didn’t take long before I realised that customizing Vista was not an easy thing to do. For me, AeroXperience has always been the place to [...]]]></description>
			<content:encoded><![CDATA[<p>This is my first blog post, so I am just going to take a minute to introduce myself. I joined AeroXperience mostly for tips and tricks on customizing Vista. It didn’t take long before I realised that customizing Vista was not an easy thing to do. For me, AeroXperience has always been the place to discuss this. So, with no builders to make visual styles, our only tools have been Resource Hackers and Hex-Editors.</p>
<p>After I created a few Visual styles and struggled with the graphic design side of things, I turned my efforts to researching and documenting my methods for Resource Hacking and Hex-Editing. Resource Hacking is where it all starts. The first time I opened the .msstyle with Restorator, I did not know where to begin. All those image numbers meant nothing to me, but 12 months of research for much of what we need has already been documented.</p>
<p>In October 2007 <a title="Stardock" href="http://www.stardock.com/" target="_blank">Stardock</a> released their solution to Customizing Vista; <a title="WindowBlinds" href="http://www.stardock.com/products/windowblinds/" target="_blank">WindowsBlinds 6.0</a> adds full support for skinning Windows Vista as well as applying a host of new special effects to skins (blurred glass, advanced animations, etc.) Users also can create their very own WindowBlinds skins using <a title="SkinStudio" href="http://www.stardock.com/products/skinstudio/" target="_blank">SkinStudio 6 Pro</a>.</p>
<p>However Stardocks solution does not suit everyone and In the last 12 months, skinners using the hacking methods have been documenting what they find; the vista customization community has really pulled together to share expertise.</p>
<p><strong>UxTheme Patches:</strong> (To Date)</p>
<ul>
<li><a title="Raphael's uxTheme Patches" href="http://www.withinwindows.com/uxtheme-patches/" target="_blank">Raphael&#8217;s uxTheme Patches</a></li>
<li><a title="Vista Glazz" href="http://www.codegazer.com/vistaglazz/downloads/" target="_blank">Vista Glazz</a></li>
<li><a title="PsycoB's Style Selector" href="http://www.aeroxp.org/board/index.php?s=c8e64e16fdbd1129da87cb0f50684089&amp;showtopic=11279" target="_blank">PsycoB&#8217;s Style Selector</a></li>
</ul>
<p><strong>Tools:</strong></p>
<ul>
<li><a title="ResHacker" href="http://http://www.angusj.com/resourcehacker/" target="_blank">ResHacker (Resource Hacker) </a></li>
<li><a title="Restorator 2007" href="http://www.bome.com/Restorator/download.html" target="_blank">Restorator 2007 (Resource Hacker)</a></li>
<li><a title="Mirkes Tiny Hexer" href="http://www.softpedia.com/get/Others/Miscellaneous/tiny-hexer.shtml">Mirkes Tiny Hexer (Hex-Editor)</a></li>
<li><a title="XVI32 Hex Editor" href="http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm#download">XVI32 Hex Editor (Hex-Editor)</a></li>
<li><a title="Alpha Image Converter" href="http://www.aeroxp.org/board/index.php?act=attach&amp;type=post&amp;id=6190">Alpha Image Converter</a></li>
<li><a title="PNG Alpha Fixer" href="http://www.aeroxp.org/board/index.php?act=attach&amp;type=post&amp;id=9670">Png Alpha Fixer</a></li>
</ul>
<p><strong>Documentation: </strong>(Threads and Tutorials)</p>
<ul>
<li><a title="How to make Aero.msstyles compatible pngs" href="http://www.aeroxp.org/board/index.php?showtopic=7216" target="_blank">How to make Aero.msstyles compatible pngs</a></li>
<li><a title="How to make a Visual Style for Windows Vista " href="http://www.aeroxp.org/board/index.php?showtopic=9679" target="_blank">How to make a Visual Style for Windows Vista</a></li>
<li><a title="The Resource Research Thread " href="http://www.aeroxp.org/board/index.php?showtopic=8697" target="_blank">The Resource Research Thread</a></li>
<li><a title="Aero Resource ID's (Wiki)" href="http://wiki.deskmodder.de/wiki/index.php/Vista_msstyleImage_508-549" target="_blank">Aero Resource ID&#8217;s (Wiki)</a></li>
<li><a title="Decimal to Hex (Calc.exe)" href="http://ukintel.deviantart.com/art/DECIMAL-TO-HEX-Tutorial-86165941" target="_blank">Decimal to Hex (Calc.exe)</a></li>
<li><a title="Hex-Editing (General)" href="http://www.aeroxp.org/board/index.php?showtopic=9375" target="_blank">Hex-Editng (general)</a></li>
<li><a title="Hex-Editing (Margins)" href="http://www.aeroxp.org/board/index.php?showtopic=11219" target="_blank">Hex-Editng (Margins)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://winjade.net/2008/06/vista-customization-the-story-so-far/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
