We were using the following code to draw a textbox like border:
VisualStyleElement vse = VisualStyleElement.TextBox.TextEdit.Normal;
VisualStyleRenderer vsr = new VisualStyleRenderer(vse);
This worked for XP. In windows 7 the TextBox border has some fade effects. The code no longer works, so...
Anyone knows if there is there a standard way of drawing a "text box like" border in a custom control?
View Complete Post