Displays the specified dialog. This command should only be called from an onDialog event handler (see App.setNotify).
First available in version 3.0 build 2039.
hwnd - Window handle of the dialog to be displayed. This dialog must be a child of your application i.e. it will fail on dialogs owned by other applications.
No output parameters.
When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.
Using App.setNotify to enable the onDialog event causes all dialogs that are children of your application to start in hidden mode so they can be cancelled or confirmed without becoming visible. Any dialogs that you don't handle by calling App.cancelDialog or App.confirmDialog must be displayed by a call to App.showDialog or they will remain hidden and inaccessible to your users.
This example demonstrates how to automatically confirm any Print dialog opened by an application. We do this by handling onDialog events generated by ssCore.App.setNotify and watching for dialogs with a title of "Print". Any dialog that doesn't have the correct title is simply displayed using ssCore.App.showDialog.
var a = return_obj.result.split(",");
var hwndDialog = a;
var isChild = a;
var captionDialog = a;
var captionParent = a;
// only mess with dialogs we own (our children)
if (isChild == "TRUE")
if (captionDialog == "Print")