Personal tools
From wiki.swiftlytilting.com
Jump to: navigation, search

WinBinder Manual/wb set style

Sets or resets the style of an object

Syntax

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.

The following styles can be set or reset:

Class of wbobject style Action
ListViewWBC_LINESDisplay gridlines around items
WBC_CHECKBOXESDisplay check boxes in the first column of all items
SliderWBC_LINESShow tick marks
TreeViewWBC_LINESDraw dotted lines linking children objects to their parents

Returns

Returns TRUE on success or FALSE if an error occurs.

See also

Winbinder Projects