Click here to Skip to main content
14,975,553 members
Articles / Desktop Programming / WTL
Posted 3 Nov 2002


27 bookmarked

WinTailor, customize any window on your screen

Rate me:
Please Sign up or sign in to vote.
4.85/5 (16 votes)
3 Nov 20021 min read
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.


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.


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


About the Author

Neil Yao
China China
I'm a chinese programer living in Shanghai, currently working for a software company whose main business is to deliver computer based testing. Software simulation for computer based testing and certifications is my main responsibility in this company. Execpt for software development, I like out-door activities and photography. I am willing to make friends in China and all over the world, so contact me if you have anything in common with meSmile | :)

Comments and Discussions

GeneralGreat work! Pin
Don Shrout9-Apr-08 8:17
MemberDon Shrout9-Apr-08 8:17 
QuestionHow to permanently change a dialog Pin
Joel Leavitt30-Nov-05 10:00
MemberJoel Leavitt30-Nov-05 10:00 
GeneralWTL3.1 use Pin
phyler30-Dec-03 1:07
Memberphyler30-Dec-03 1:07 
GeneralAn Awesome program!!!! Pin
fxadler25-Dec-03 23:41
Memberfxadler25-Dec-03 23:41 
GeneralRe: An Awesome program!!!! Pin
Neil Yao29-Dec-03 20:09
MemberNeil Yao29-Dec-03 20:09 
GeneralRe: An Awesome program!!!! Pin
nutty24-Nov-04 12:16
Membernutty24-Nov-04 12:16 
GeneralGood Pin
Philippe Lhoste3-Dec-02 4:11
MemberPhilippe Lhoste3-Dec-02 4:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.