The fields of the CreateParams class are listed below. For a complete list of CreateParams class members, see the CreateParams Members topic.
caption | The initial caption your control will have. |
className | Name of the window class to subclass. The default value for this field is null, indicating that the window is not a subclass of an existing window class. To subclass an existing window class, store the window class name in this field. For example, to subclass the standard edit control, set this field to "EDIT". |
classStyle | Class style bits. This must be a combination of CS_XXX style flags. This field is ignored if the className field is not null. |
exStyle | Extended window style bits. This must be a combination of WS_EX_XXX style flags. |
height | The initially proposed height. |
param | Any extra information that the underlying handle might want. |
parent | The controls parent. |
style | Window style bits. This must be a combination of WS_XXX style flags and other control-specific style flags. |
width | The initially proposed width. |
x | The left portion of the initial proposed location. |
y | The top portion of the initial proposed location. |