WindowsForm Styles too Limited
-
One of the features stopping us migrating to C# from VC++ is the limited windows form styles. In a VC++ dialog box we can set the dialog box to have no borders and pop-up style. I cant seem to find a way setting a windowsform to have no border in C#/MC++, I wonder if this is possible at all? many thanks
-
One of the features stopping us migrating to C# from VC++ is the limited windows form styles. In a VC++ dialog box we can set the dialog box to have no borders and pop-up style. I cant seem to find a way setting a windowsform to have no border in C#/MC++, I wonder if this is possible at all? many thanks
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; You can set it through the properties or in code as above, valid styles are: Fixed3D :A fixed, three-dimensional border. FixedDialog : A thick, fixed dialog-style border. FixedSingle : A fixed, single line border. FixedToolWindow : A tool window border that is not resizable. None " No border. Sizable : A resizable border. (Default) SizableToolWindow : A resizable tool window border. Gary "A fellow with the inventiveness of Albert Einstein but with the attention span of Daffy Duck." Tom Shales talking about Robin Williams