If I have created a custom collection class which encapsulates a standard Collection object, how then can I enumerate its members by using For Each?

e.g.
VB Code:
  1. Dim objWindow  As CWindow   ' Custom class
  2. Dim objWindows As CWindows  ' Custom collection class
  3.  
  4. objWindows.GetWindows       ' Populate the collection
  5.  
  6. ' Now how can I provide support for this:
  7. For Each objWindow In objWindows
  8.     ' ....
  9. Next objWindow

I think it works with a NewEnum method or something, but they are all hidden. Any ideas?