2

Is there a way to find out the size of the system buttons (minimize, maximize or close button) in a desktop application? Thanks.

I already tried different scenarios, like WindowChrome class, but nothing works well.

mca
  • 466
  • 3
  • 11
  • Related: http://stackoverflow.com/q/479332/1207195 – Adriano Repetti May 17 '16 at 14:20
  • [In winforms](http://stackoverflow.com/q/28477441/1997232) (not sure if it's the same in wpf). In any case try to explain *"nothing works well"* with code and screenshots. – Sinatr May 17 '16 at 14:20
  • @Sinatr If there's no other way then the OP might consider adding a reference to `System.Windows.Forms`. But mixing WPF and WinForms is generally considered a bad practice. – Fᴀʀʜᴀɴ Aɴᴀᴍ May 17 '16 at 14:33

0 Answers0