dle collection
End Sub

'Called automatically when the class instance is destroyed.
Private Sub Class_Terminate()
  Dim i As Long
  
  Call PatchVal(OFFSET_P3, 0)                             'Patch the code to
   ensure no further iWindow_WndProc callbacks
  
  For i = col_hWnds.Count To 1 Step -1                    'For each window
   created (and not yet destroyed)
    Call WinSubHook.DestroyWindow(col_hWnds.Item(i))      'Destroy the window
    Call col_hWnds.Remove(i)                              'Remov