Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

WinTailor, customize any window on your screen

0.00/5 (No votes)
3 Nov 2002 1  
A little useful tool to change style and position of any window

Sample Image - WinTailor.jpg

The motivation

Some time, when we use software written by others, some dialogs do not look perfect for some reason. For example, when we open an option dialog, some checkboxes look smaller than it should be, so we cannot read the whole text. Such things happen all the time. I needed a tool to resize these controls to understand what they mean. I used to open the exe file as resource using Visual Studio, and modify the dialog resource manually. That's not the perfect solution of course. And yesterday, I encountered another problem: A non-dialog window which has no related resource. And the content of the window is larger than the area of the window, but the window is not resizable, so I cannot read the whole content. I began to realize that I have to write a little tool, for the coming days, and also for the other people. Here comes Wintailor.

Introduction

Wintailor works just like Spy++. You drag a glass to find the target window, and Wintailor read the information of the window for you, then you can modify the styles and position of the window if you like. That's all, very simple.

The Implementation

The project is written using ATL/WTL. So, you need the WTL headers to compile. I used ATL3 and WTL7. But I think it will also work in ATL7 and/or WTL31, although not been tested.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here