Announcement

Collapse
No announcement yet.

RichEdit & WM_CTLCOLOREDIT

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RichEdit & WM_CTLCOLOREDIT

    I've modified Borje Hagsten's code for "Synchronized Textboxes" to use
    a RichEdit control (V2.0) for one of the text boxes. It appears
    that this control never sends a %WM_CTLCOLOREDIT, or %WM_CTLCOLORSTATIC
    message. The MSDN library documentation states that the control does issue
    this message. I must be missing something. Anybody have a clue as to
    what the problem may be??

    ------------------
    Nick
    Nick

  • #2
    Nick;

    The RichEdit control does not send the color message like the
    edit control does.

    You need to send the RichEdit control the EM_SETBKGNDCOLOR
    message to set the background.


    ------------------
    Chris Boss
    Computer Workshop
    Developer of "EZGUI"
    http://cwsof.com
    http://twitter.com/EZGUIProGuy

    Comment


    • #3
      Well... It looks like it's back to good ol' WM_COMMAND.
      THANKS!


      ------------------
      Nick
      Nick

      Comment

      Working...
      X