when using the 2-parameter form of this shared function, where the hell is it getting the colors from? neither of the colors appear in my system palette; one of them is black, which is not one of my system colors. the other is close to 2 of my "shadow" colors, but doesn't match. I really wish microsoft would document stuff like this, but they don't.
Reflector shows the following code in System.Windows.Forms.dll:
public static void DrawFocusRectangle(Graphics graphics, Rectangle rectangle)
{
ControlPaint.DrawFocusRectangle(graphics, rectangle, SystemColors.ControlText, SystemColors.Control);
}
> when using the 2-parameter form of this shared function, where the hell
> is it getting the colors from? neither of the colors appear in my system
> palette; one of them is black, which is not one of my system colors. the
> other is close to 2 of my "shadow" colors, but doesn't match. I really
> wish microsoft would document stuff like this, but they don't.