Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Winforms form border styles FixedSingle and FixedDialog?

Tags:

c#

winforms

What's the difference between the Winforms form border styles FixedSingle and FixedDialog?

Despite the MSDN docs, there is no difference in the appearance of either border style on Windows 7:

enter image description here

like image 303
reformed Avatar asked Feb 01 '16 17:02

reformed


1 Answers

From MSDN:

FixedDialog: A thick, fixed dialog-style border.

FixedSingle: A fixed, single-line border.

Also, while the date shows it might be out-dated, here is another possible description of the differences:

Fixed Dialog: Used for dialog boxes. Not resizable. Can include control-menu box, title bar, Maximize and Minimize buttons on the title bar. Creates a recessed border relative to the body of the form.

Fixed Single: Not resizable. Can include control-menu box, title bar, Maximize button, and Minimize button. Resizable only using Maximize and Minimize buttons. Creates a single line border.

Emphasis mine.

like image 129
Lews Therin Avatar answered Sep 19 '22 08:09

Lews Therin