Is there a way to change the bordercolor for a label and the width of the line?
Sometimes i use bordered labels to return info like a textbox without allowing the user to change or even focus to it.
But it lacks the "looks" of the textbox which have a thinner blue-ish line.
O what the heck, can i change the color of any of the two?
The SS_SUNKEN window style looks very close to the textbox. You probably couldn't tell them apart (unless they are side by side). Of course, the BackColor has to be set the same as the textbox.
As for the "thinner blue-ish line", that is only when the textbox has the focus. You said you don't allow focus for those controls.
To change the color yourself probably means owner-drawn.
Hi
In general the label doesnt look so nice (refined) as the textbox.
Its something i would like to play around with.
Does anyone have an example how you redraw a border on a label?
What about a read-only textbox? User can't do anything but the programmer can...
Regards,
Wilko
Hi Wilko
You know people. Some dumbass will soon enough phone and say he cant type in there.
So I avoid the focus at all, no click, no tab, nothing. Just for view.
I would like to give the form a more refined look. I saw something a buddy of mine did on Linux and it looks pretty cool.
He can change anything on a label, borders, colors, patterns you name it.
I know its all bells-and whistles, but sometimes one would like to add a few touches to a project.