Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

setting edit box to another color

doughydoughy Member Posts: 13
I'm trying to set the color of a combo box and two edit boxes. Using class wizard i looked under each of the object IDs but do not see what Message I should use to set these colors -- if that's the right way to set the background color. I know you use the SetBkColor function but i do not know where to put it to ensure that code is executed.

Comments

  • TribalTechTribalTech Member Posts: 74
    : I'm trying to set the color of a combo box and two edit boxes. Using
    : class wizard i looked under each of the object IDs but do not see
    : what Message I should use to set these colors -- if that's the right
    : way to set the background color. I know you use the SetBkColor
    : function but i do not know where to put it to ensure that code is
    : executed.
    :
    Do a message handler for OnCtlColor().
    TT
Sign In or Register to comment.