I know it can be done, but donít know how.

I need to know how to enumerate the styles of a window, I want to be able to produce a list such as the one in Spy++ informing the user of each and every style that window has. i.e. WS_CHILD, WS_blah blah blah.

Any information would be much appreciated