## wb_set_style

bool wb_set_style (int wbobject, int style [, bool set])

Sets or resets one or more styles of the WinBinder object wbobject. Only a limited set of styles is supported due to Windows limitations.

# What it does

The following styles can be set or reset:

Class | Value of style | Description (when style is set)
--- | --- | ---
AppWindow ResizableWindow PopupWindow NakedWindow | WBC_TOP | Make the window a topmost window.
ListView | WBC_LINES | Display grid lines around items
WBC_CHECKBOXES | Display check boxes in the first column of all items
Slider | WBC_LINES | Show tick marks. The control must be created with the `WBC_LINES` style
TreeView | WBC_LINES | Draw dotted lines linking children objects to their parents

Returns `TRUE` on success or `FALSE` if an error occurs.

# See also

Control functions
Window functions