How to enumerate top level and child window handles
Fills a ListBox with top level window handles and titles. Click on an item to display all
its child window handles.
Uses the following API function and messages:
- EnumWindows
- EnumChildWindows
- GetWindowLong
- GetWindowText
Back to Code Samples
Copyright © 2000 by Matt E. Hart, All Rights Reserved Worldwide.
Nothing on this web site may be reproduced, in any form, without express written consent.