Close Forms
How to search for a window to close via enumeration. Finds all open VB IDE Form windows and closes them.
About this post
Posted: 2017-06-18
By: BlackBeltVB
Viewed: 374 times
Categories
Attachments
CLOSEFRM.ZIP
Posted: 6/18/2017 11:30:24 AM
Size: 3,356 bytes
Requirements
This code originally appeared on BlackBeltVB.com, and has been republished here with the permission of Matt Hart.
Uses the following API functions and messages:
- EnumWindows
- GetClassName
- GetParent
- GetWindowText
- MessageBeep
- SendMessage
- WM_SYSCOMMAND
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.