  iImgIndex, _
               hdc, _
               xPixels, _
               yPixels, _
               lFlags
         End If
      End If
   End If
End Sub

''' &lt;summary&gt;
''' Draws an open-close glyph for a hierachical grouping row
''' in the grid.  If running on XP with a theme in effect,
''' the TreeView's open/close glyph is drawn.
''' Otherwise a button with a + or - is drawn.
''' &lt;/summary&gt;
''' &lt;param name="hWnd"&gt;Window handle to use to detect theme.&lt;/param&gt;
''' &lt;param name