I have a small form that displays some progress information. Very rarely I have to show a rather long message and I want to be able to resize this form when needed so th
Back in the Win32 I was using the equivalent for VisualStyleRenderer::GetTextExtent function for this.