Export (0) Print
Expand All

CreateParams.Style Property

Gets or sets a bitwise combination of window style values.

[Visual Basic]
Public Property Style As Integer
[C#]
public int Style {get; set;}
[C++]
public: __property int get_Style();
public: __property void set_Style(int);
[JScript]
public function get Style() : int;
public function set Style(int);

Property Value

A bitwise combination of the window style values.

Remarks

The Style property controls the appearance of the control and its initial state.

For more information about creating control parameters, see the CreateWindow and CreateWindowEx functions and the CREATESTRUCT structure documentation in the Windows Platform SDK reference located in the MSDN Library.

Note   The constants used to set the Style, ExStyle, and ClassStyle properties are defined in the Winuser.h header file. This file is installed by the Platform SDK or Visual Studio .NET.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CreateParams Class | CreateParams Members | System.Windows.Forms Namespace | ExStyle | ClassStyle

Show:
© 2014 Microsoft