I want to set the minimum size of my forms programatically, to do that, I measure:
- The left icon of the form; [Ok]
- The title of the form; [Ok]
- The size of the right buttons (Minimize/Maximize/Close) [Problem]
The button sizes change between OS, and I dont want to fix a value... Any sugestion to get the size of the corner buttons?
Form.ClientSize
is the size excluding frame & title bar – Alex K.