hEdit = WinXAddEdit (parent, STRING title, style, id)
Adds a new edit control to the specified window.
Parameter | Description |
---|---|
parent | The window to create the edit control in |
STRING title | The text that will appear the the edit control before the user starts editing it |
style | The style of the edit control. See remarks |
id | The unique constant that identifies this edit control |
The handle of the new edit control on success or 0 on fail
The style parameter is a standard windows style. Listed are some of the more usefull constants. See the Win32 docmentation for more information. These constants can be combined with the | (or) operator.
The size and position of the edit control is set using either a custom control sizer function (controlSizer callback) or the auto sizer. To use the auto sizer, use the WinXAutoSizer_SetInfo function.
'define the constant for the id |