<--------------------------About Sample----------------------------->

ViewWinInfo is a windows information viewer. You can use this sample 
to find or select an open window, and view information about the window, 
such as its hwnd, size, and parent window.

<--------------------------About Sample----------------------------->

<--------------------------First Version---------------------------->

A big thanks to Steve McMahon, the designer of vbAccelerator 
(http://vbaccelerator.com), to release a sample called vbAccelerator 
Windows Hook Library. This sample really eased my work in designing this
sample. 

<--------------------------First Version---------------------------->


<--------------------------Second Version--------------------------->

Several Features have been added, such as:
1. Add Windows Extra Style (GWL_EXSTYLE) that very important in 
   Win9x/2000/NT4. (Suggested by Steve McMahon)
2. Use the EnumWindows function to list the top level windows and owned windows
   of a specific window in place of the GW_HWNDNEXT. (Suggested by Steve 
   McMahon)
3. Use the EnumChildWindows function to list child windows of a specific
   parent window.
3. Allow you to detect information about the window currently under the
   mouse by using a Timer. When the timer fires, GetCursorPos and
   GetWindowFromPoint will be called to get the information.  This
   allows you to get info about windows where you can't hold the mouse 
   down at the same time (such as menus) and can be very useful! 
   (Suggested by Steve McMahon)
4. You can refresh the list of top level windows by pressing the 
   "refresh" button.
5. Press "Start Tracking" button to detect information about the window   
   currently under the mouse.
6. Automaticallt list out child windows and owned windows of a selected
   windows.

Notes:
1. This version is full with description.
2. Windows hook had been removed from this version because I use Timer
   (as suggested by Steve McMahon) to detect information about the 
   window that under the mouse.
3. Some logic statements in the sample had been modified to increase
   the efficiency of the sample.
4. This sample is best viewed in 800 by 600 pixels.

<--------------------------Second Version--------------------------->

<--------------------------About Author----------------------------->

If you find bugs in this sample, please tell me.

Author: Chong Long Choo
Email: chonglongchoo@hotmail.com

<--------------------------About Author----------------------------->

<--------------------------Disclaimer------------------------------->

This sample is free. You can use the sample in any form. Use this 
sample at your own risk! I have no warranty for this sample.

<--------------------------Disclaimer------------------------------->
