Tag Archives: sendmessage to close window

VB6 Close Any Window with SendMessage

This function/sub closes any window you can get the handle/hwnd to.

In a module: