Hi everyone
I am trying to programmatically position certain controls within a form, based on the difference between the forms minimum size and its client size - this unfortunately produces different results depending on what theme the user has loaded (mostly the problem seems to be due to the fact that the title bar and form border have different heights/widths in different themes). I have tried using the height of the entire window (including the title bar etc) but this doesn't seem to work as expected :(
this unfortunately causes contained controls to misalign. in this particular usage scenario, use of automatic layout controls (such as the flow layout panel) isn't a viable solution.
I must be missing something really obvious - is there a better way of doing this?
Apologies if this question sounds dumb
Many Thanks Dave