ssCore.Win.showButtons

Show or hide the minimize, maximize and close buttons on the title bar.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

minimize - Show or hide the minimize button on the title bar. If the maximize button is still enabled the minimize button will just be grayed out instead of hidden (Windows behavior). Valid values include: true and false.

maximize - Show or hide the maximize button on the title bar. If the minimize button is still enabled the maximize button will just be grayed out instead of hidden (Windows behavior). Valid values include: true and false.

close - Enable or disable the close button. Windows doesn't actually hide this button while the window has an icon in the upper left corner. Valid values include: true and false.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.Win.showButtons( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.Win.showButtons( paramsObject );


Notes:

None.


Examples:

ssCore.Win.showButtons({minimize:false, maximize:false, close:true});