A button can be accessed in the following way:
var btn = dhxWins.window(id).button(id);
Default buttons ids are:
There is the possibility to show/hide a button by calling the following methods:
dhxWins.window(id).button(id).show(); dhxWins.window(id).button(id).hide();
User-buttons also inherit these methods.
The button can be enabled/disabled by user:
dhxWins.window(id).button(id).enable(); dhxWins.window(id).button(id).disable();
User-buttons also inherit these methods.
Note: in some cases button enabling/disabling is determined by Object. For example, when the window is Parked Up, resize buttons are inactive/disabled. But they become active/enabled when the window is Parked Down. Thus, resize buttons are disabled by Object.
Creating user button guide coming soon.