Dwstyle: Specifies the style of the window to be created. This parameter can be a combination of the following window styles plus the control styles in the description section. Style meaning:
Ws_border: create a single border window.
Ws_caption: create a window with a title box (including the ws_boder style ).
Ws_child: Create a subwindow. This style cannot be used with the ws_popup style.
Ws_chldwindow: Same as ws_child.
Ws_clipchildren: the Child Window area is excluded when drawing in the parent window. Use this style when creating a parent window.
Ws_cllpblings; Exclude the relative areas between subwindows, that is, when a specific window receives the wm_paint message, ws_clipsiblings style will exclude all stacked windows from the drawing, only redraws the specified subwindow. If the ws_clipsiblings style is not specified and the Child Window is stacked, the adjacent child window is re-painted when the customer area of the Child Window is re-painted.
Ws_disabled: Creates a subwindow with the initial status disabled. A window in the prohibited status cannot accept input information from the user.
Ws_dlgframe: Creates a window with the border style of the dialog box. This style of window cannot contain a title bar.
Ws_group: Specifies the first control of a group. This control group consists of the first control and the subsequent control. Each control starts from the second control and has the ws_group style. The first control of each group has the ws_tabstop style, this allows you to move between groups. You can then use the cursor to change the keyboard focus between the controls in the group.
Ws_hscroll: create a window with a horizontal scroll bar.
Ws_iconic: Creates a window with the initial status minimized. The style is the same as that of ws_minimize.
Ws_maximize: create a window with the maximum button. This style cannot appear in the same way as ws_ex_contexthelp. You must also specify the ws_sysmenu style.
Ws_overlapped: generates a stacked window. A stacked window has a title bar and a border. The style is the same as that of ws_tiled.
Ws_overtappedwindow: Creates a stacked window with ws_overlapped, ws_caption, ws_sysmenu ws_thickframe, ws_minimizebox, and ws_maxmizebox styles, which is the same as ws_tiledwindow.
Ws_popup; create a pop-up window. This style cannot be used together with ws_chld.
Ws_popuwindow: create a window with ws_border, ws_popup, ws_sysmenu style. ws_caption and ws_popupwindow must be set at the same time to make a window visible.
Ws_sizebox: create a window with an adjustable border, which is in the same style as ws_thickframe.
Ws_sysmenu: Creates a window with a window menu on the title bar. The ws_caption style must be set at the same time.
Ws_tabstop: Create a control that gets the keyboard focus when you press the tab key. Press the tab key to move the keyboard focus to the next control with the ws_tabstop style.
Ws_thickframe: Creates a window with an adjustable border, which is in the same style as ws_sizebox.
Ws_tiled: generates a stacked window. A stacked window has a title and a border. The style is the same as that of ws_overlapped.
Ws_tiledwindow: Create a ms_overlapped, ws_caption, ws_sysmenu ms_thickframe.
Ws_minimizebox, ws_maxmizebox-style stacked window. The style is the same as that of ws_overlappedwindow.
Ws_visible: create a window in the initial state as visible. Ws_vscroll: create a window with a vertical scroll bar.