How to search for a window to close via enumeration
Finds all open VB IDE Form windows and closes them.
Uses the following API functions and messages:
- EnumWindows
- GetClassName
- GetParent
- GetWindowText
- MessageBeep
- SendMessage
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.