D
Dan Soendergaard
Hi,
I'm writing my own control and I would like it to integrate nicely
into the rest of my application, which uses the standard controls
primarely. I therefore wanted my control to use the same border colour
as the rest of the controls, ex the TextBox control. After trying all
the colours in SystemColors, I was still unable to find the correct
colour. Then searched Google, and the only thing that came up was
this:
http://groups.google.com/group/micr...lor+of+textbox+border&rnum=7#832eb0107f51e5df
Does that mean, that it is impossible to get the right colour? I could
of course do as suggested in the post (getting the RGB value and using
that), but it wouldn't work if my user used another Windows style.
Any suggestions?
Thanks in advance!
Dan
I'm writing my own control and I would like it to integrate nicely
into the rest of my application, which uses the standard controls
primarely. I therefore wanted my control to use the same border colour
as the rest of the controls, ex the TextBox control. After trying all
the colours in SystemColors, I was still unable to find the correct
colour. Then searched Google, and the only thing that came up was
this:
http://groups.google.com/group/micr...lor+of+textbox+border&rnum=7#832eb0107f51e5df
Does that mean, that it is impossible to get the right colour? I could
of course do as suggested in the post (getting the RGB value and using
that), but it wouldn't work if my user used another Windows style.
Any suggestions?
Thanks in advance!
Dan