Strange Blue Line At Bottom of edit box control in windows 11 in mfc in vs2021

hari kumar kasireddy 21 Reputation points
2022-05-18T11:27:55.603+00:00

203050-image.png

I want to get rid of the bottom blue line in MFC controls in VS2019 for the edit box control. Please let me know how to fix it

Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
{count} votes

Answer accepted by question author
  1. YujianYao-MSFT 4,296 Reputation points Microsoft External Staff
    2022-05-19T03:09:08.883+00:00

    Hi @hari kumar kasireddy ,

    You need to right click on the edit control, select Properties, then set Border to False:

    203591-s1.png

    203537-s2.png

    Best regards,

    Elya


    If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.