A multiline Edit Box in C++/MFC/Win32 desktop application has "ghost" text since Win11 25H2 was installed

David McKay 21 Reputation points
2025-10-22T09:25:22.95+00:00

A CPropertySheet dialog in our C++/MFC/Win32 desktop application is showing "ghost" text overwriting a multiline edit box since updating Windows 11 to 25H2.

This was first seen by a client but we have replicated internally on multiple machines.

We've also created a stripped-down standalone application which demonstrates the issue. This can be found at https://github.com/d6mck/MultilineEditTest.

With reference to the standalone application, the intial dialogue shows the expected results, with the text being legible:

User's image

Whereas the CPropertySheet has the initial edit box text duplicated, making editing confusing at best:

User's image

This appears to be a specific issue with a combination of:

  1. a CPropertyPage-derived dialog hosted in a CPropertySheet
  2. an edit box immediately adjacent to a static text item
  3. the edit box having its multiline (ES_MULTILINE) property set

Our client updated in the past week:

e572b0c4-e3a3-4ab7-a878-c6deb4dfe007

And local testing shows that this update sequence triggers the issue:

User's image

I'm discounting the client's KB2467173 since both the product and test application are VS2022, so use the 2015-2022 redistributable. Neither of the other two claim to impact anything relevant.

It looks like there's been a breaking change in the latest Win 11 updates. Can anyone point us in the direction of fixing this?

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

1 answer

Sort by: Most helpful
  1. simonx 136 Reputation points
    2025-10-22T16:48:24.0333333+00:00

    I'm seeing the same thing, except that in my case it's much worse than just a little 'ghosting'. The text quickly becomes completely unreadable (a blackened, jumbled mess) if you try to insert any text into existing text. In my case the problem arises in Windows 11 Pro, version 24H2, OS Build 26100.6899. Other details are the same: It happens in a CPropertySheet dialog in a C++/MFC/Win32 desktop application, where you have a multiline edit control. I have reported this to Microsoft here: https://developercommunity.visualstudio.com/t/Recent-Windows-update-cause-multiline-ed/10986471?port=1027&fsid=20bb933a-c1e9-4851-b8dc-511cd23c1489&ref=native&refTime=1761151408717&refUserId=f8a0b681-3fdd-4f95-80ea-a7e4af8c3bd2

    It is currently flagged as "Under Consideration".

    I also created a demo app to illustrate the problem. I have tried all sorts of experiments with the demo app, and so far have not found any way to prevent the problem occurring - if you have a CPropertySheet/CPropertyPage tabbed dialog, and a multiline edit control.

    I don't have any solution or workaround. Just hoping Microsoft can fix this v. quickly. I have an app out there with tens of thousands of users and some of them are already complaining about this.

    1 person found this answer helpful.
    0 comments No comments

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.