RDP Target: Windows 2016 Hyper-V Server
RDP Client: Windows 10
Main Monitor of client: 1920x1080 150% scaling.
C++/MFC with spawned (via COM) C# Winform, showing a Data Grid View with a number of controls, including checkboxes in cells.
C# .NET 4.6/4.7
The Checkbox does not render at all when shown. Does not happen if the RDP target is a Windows 10 client in a local Hyper-V.
Using any monitor as the RDP session host which is not 100% or 125% exhibits the problem. Problem happens at any resolution.
The problem was that the row height was fixed, and too small. The checkbox was unable to draw.
The following line of code solved it.
grid.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;