How to get the Color endpoints of an Active Title Bar?
I'm writing a bunch of custom controls, and to keep with the style and feel of windows, I want to get the two endpoint colors so that my gradients look correct. Any ideas? And I already know the rgb values for the standard color scheme, that isn't what I need. I need a way to programically get the colors, so if the style changes, my controls will change right along with it. Thanks in advance, and props to anyone who can give me some insight into this problem. :)