I have created a small Windows application, programmed with the table at Parts and States. This application lets the programmer browse and explore all parts and states, using the current OS theme.
It can be downloaded at
The (Delphi, Win32 API) source, which is too long to be posted here (due to hundreds of constants) is found at