How do I get the system colors?

BlitzPlus Forums/BlitzPlus Programming/How do I get the system colors?

There's code in the code archives that reads the windows INI file, but I don't trust that method and the code is overly complex.

How can I find out the colors of various interface elements with function calls?