Click here to Skip to main content
15,886,199 members
Articles / Desktop Programming / MFC

How to change the back color of an edit box when it gets the focus

Rate me:
Please Sign up or sign in to vote.
1.95/5 (17 votes)
10 Jun 2001 180.6K   4.7K   47  
Change the back color of an edit box to yellow when it gets the focus, and back to white when it loses the focus.

Views

Daily Counts

Downloads

Weekly Counts

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
I am a Visual Basic, Visual C++ programmer (consultant) with 6 years experience. I am also an instructor and have been teaching Visual Basic and Visual C++ at a local community college for the past 15 months.

Comments and Discussions