Winspector

Download   Features   Change History   Newsletter Signup

Winspector - Tags used for HTML files

Item Value
$window-classname$ Windows class Name
$window-text$ Text or caption of the window
$window-rect$ Rectangle of the window in screen co-ordinates
$window-size$ Size in pixels
$window-client-rect$ Rectangle of the windows client area
$window-client-size$ Size of the client area in pixels
$window-style$ Window styles of this window
$window-style-ex$ Extended window styles of this window
$window-id$ The ID of the window
$window-properties$ The properties, as used by Get/SetProp.
$window-owner-module$ The name of the process that created this window
$window-class-specific$ Window class specific information such as scroll bar position information, selected item in a list box, etc.

You can add the above tags into the HTML used wherever and as many times as you like. Here's what a tracking tip might look like:


<body bgcolor=white>
<table cellspacing=0 border=0>
<tr>
 <td>
  <table width=100% bgcolor=white bgcolor=silver cellspacing=0 cellspacing=1>
   <tr bgcolor=white>
    <td>Class</td><td nowrap>$window-classname$</td>
   </tr>
   <tr bgcolor=white>
    <td >Rectangle</td><td nowrap>$window-rect$</td>
   </tr>
   <tr bgcolor=white>
    <td>Size</td><td nowrap>$window-size$</td>
   </tr>
  </table>
 </td>
</tr>
</table>
</body>

Where can they be used

Currently you can use the above technique to alter the tracking tooltip when dragging the window selector, and the display of the window properties. Simply create a named file in the Winspector directory and add content similar to the above.

Filenames:
TrackTip.html Text used for the tracking tooltip
properties.html Text used for the Window properties display

[TOP]