_winxptheme.CloseThemeData

CloseThemeData(hTheme)

Closes the theme data handle. This should be done when the window being themed is destroyed or whenever a WM_THEMECHANGED msg is received (followed by an attempt to create a new Theme data handle).

Parameters

hTheme : PyHTHEME

Open theme data handle (returned from prior call to OpenThemeData() API).