, , , , - :
Dim clientRectDelta As Integer = Me.Height - Me.ClientRectangle.Height - (SystemInformation.Border3DSize.Height * 2)
Dim actualMinimumHeight As Integer = Me.MinimumSize.Height - clientRectDelta
Dim deltaHeight As Integer = Me.ClientRectangle.Height - actualMinimumHeight
However, this ignores any control-dependent heights of the dependent topics (i.e., the height of the column headers when changing lists, which seem to change the overall height of the list, which can cause overlaps, etc.), but it seems to work mostly.
Many thanks to Pondidum, tommieb75 and nobugz who helped with this problem! (sorry, but I don’t have enough reputation to mark all your answers up to +1).
source
share