ssCore.Win.setTopmost

Move your application window to the top of the z-order.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

flag - A flag indicates whether the application window should be topmost or not. Valid values include: true and false.

aggressive - [Optional] - A flag indicates whether the application aggressively assert its topmost position. When this flag is enabled, your application will check to see if another topmost application has placed itself on top and will then move itself back to the top of the z-order. 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.setTopmost( 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.setTopmost( paramsObject );


Notes:

None.


Examples:

ssCore.Win.setTopmost({flag:true});