The text is a color, the Background is a color.
BUT i can't get the GREY color to change.
I cna't find any code that changes the border color in the CTL..
if it helps this is what i have, i need to change the color tho
Code:
Select Case BorderType
Case btUp
If bFocus Then
Call DrawEdge(UserControl.hdc, rct, BDR_OUTER, BF_RECT Or BF_ADJUST)
Call DrawEdge(UserControl.hdc, rct, EDGE_RAISED, BF_RECT)
Else
Call DrawEdge(UserControl.hdc, rct, EDGE_RAISED, BF_RECT)
End If
Case btOver
Call DrawEdge(UserControl.hdc, rct, EDGE_RAISED, BF_RECT)
Case btDown
If bFocus Then
Call DrawEdge(UserControl.hdc, rct, BDR_OUTER, BF_RECT Or BF_ADJUST)
Call DrawEdge(UserControl.hdc, rct, BDR_SUNKENOUTER, BF_RECT)
End If
End Select