Need to set EDIT background BLACK and EDIT text WHITE

This is a discussion on Need to set EDIT background BLACK and EDIT text WHITE within the Windows Programming forums, part of the Platform Specific Boards category; How would I do this? I created it normally, with CreateWindow, but how do I change the background of the ...

  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21