Thread: Need to set EDIT background BLACK and EDIT text WHITE

  1. #1
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584

    Need to set EDIT background BLACK and EDIT text WHITE

    How would I do this? I created it normally, with CreateWindow, but how do I change the background of the EDIT to black and the text of the EDIT to white?

    Thanks!
    1978 Silver Anniversary Corvette

  2. #2
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    If I recall correctly, handle the WM_CTLCOLOREDIT message.

  3. #3
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    But how do I handle this message? What about it?
    1978 Silver Anniversary Corvette

  4. #4
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM