CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2001
    Posts
    22

    CEdit Highlight color change

    How can I change the defualt highlight color of a CEdit control in a dialog.


  2. #2
    Join Date
    Aug 1999
    Location
    Toronto, ON
    Posts
    80

    Re: CEdit Highlight color change

    try to override CWnd::OnCtlColor()



    This is not my first application.

  3. #3
    Join Date
    Jul 2001
    Posts
    22

    Re: CEdit Highlight color change

    This is the first time Iam using the discussion board so Iam not sure how the responses will pan out.

    I do not know if you received my previous message.



  4. #4
    Join Date
    Jul 2001
    Posts
    22

    Re: CEdit Highlight color change

    Ok I got the idea know.

    Yes in reply to your message.

    Iam using OnCtrlColor() to set the background and text colors but I can not find a way to change the default highlight color.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured