Forum Discussion

ThomasK77's avatar
ThomasK77
Copper Contributor
Sep 27, 2024

Application UI update problem after installing update 23H2 KB5043145

After installing 23H2 I have some applications developed with Visual Studio (Winforms) that no longer update the UI properly.

 

ListBoxes (standard Windows control) and regular TextBoxes (input fields) no longer update/repaint properly. I have to minimize and restore the window for it to repaint the controls.

1 Reply

  • DanielHarvey's avatar
    DanielHarvey
    Copper Contributor

    Add the compatibility flag to your WinForms application in the application manifest file (.manifest), or set `SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_UNAWARE)` in your code.

Resources