Skip to main content

Window Detective: detect, set window properties on Windows

Window Detective is a free program for Microsoft Windows that you may use to detect Window properties and styles, and set them.

One basic example of how you can use Windows Detective is to use it to force program windows to open in custom dimensions and a custom location on the screen each time the program is loaded.

Other, easy to use options include setting a window to be always on top, or invisible whenever the program is launched.

Window Detective

window detective

Window Detective needs to be installed before you can run it. The program's installer comes without surprises though, but depends on a 2010 version of Microsoft's Visual C++ Redistributable which will be installed if it is not installed already.

Note: You need to run the program with elevated privileges for some functionality (setting window styles for instance). Simply right-click on the Window Detective link and select the run as administrator option to do so.

The program lists the window hierarchy in a sidebar on the left by default, and windows that you inspect on the right.

You may change the view mode to process instead which makes it a lot easier to find the window that you want to inspect and customize.

Another option that you have is to use the window picker. Simply click on the pick window button in the interface, hold down the mouse button, and drag it to a window that is open on the screen.

Last but not least, a search is also provided which you may use to find windows using basic or regular expression searches.

Window Detective jumps to the window automatically in its interface then, so that you can start evaluating it right away.

set window properties

A right-click on a window listed in the program's sidebar reveals the following options:

  1. View Properties -- this option displays various window parameters such as the dimensions, position, size, supported styles, scrolling information and a lot more.
  2. Edit Properties -- opens the general set properties window. Use it to set custom window dimensions, positions, or size, to set the window to visible/unvisible, enabled, or always on top, or change the window text.
  3. Message -- lists messages sent to the window.
  4. Edit Window Styles -- enables you to add or remove window styles from the selected window. Styles allow you to add or remove borders, scrollbars, or various other properties of the selected window.
  5. Flash, show, or hide the selected window.

Closing Words

Window Detective is a specialized program for Windows. The program has its uses, not only for developers inspecting the behavior of their programs, but also for users who want to customize window capabilities, position, size, or other window parameters.

A good starting point for new users is the documentation on the developer website. It walks you through the first steps of using the application.

Now You: Do you use programs to customize the display of windows on Windows?

 

This article was first seen on ComTek's "TekBits" Technology News

HOME