_winxptheme.SetWindowTheme

SetWindowTheme(hwnd, pszSubAppName, pszSubIdList)

Rredirects an existing Window to use a different section of the current theme information than its class normally asks for.

Parameters

hwnd : int

The handle of the window (cannot be 0)

pszSubAppName : string/None

App (group) name to use in place of the calling app's name. If NULL, the actual calling app name will be used.

pszSubIdList : string/None

A semicolon separated list of class Id names to use in place of actual list passed by the window's class. if NULL, the id list from the calling class is used.