/build/static/layout/Breadcrumb_cap_w.png

Display Message CA

My display message CA is not active/focused when it runs. This is running in Execute Immediate- does it need to be moved? I'd like for the dialog box to be the active window when it runs. Don't see anything in the custom action tables of the database to change this behavior

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 15 years ago
Red Belt
0
From your description, you are using Wise Package Studio. WPS uses a custom function call to a Wise DLL to produce the message box.

If you were displaying a message box in a normal programming language, the simple expedient of adding the value 4096 to the 2nd parameter of the API call would result in what you want, a so-called System modal dialog. As you have found, there's no way to get that data to the function call (at least, not one that's documented) so I'd suggest you build a simple script and use the MsgBox function. See here http://www.devguru.com/technologies/vbscript/13955.asp for details of that function. Something not documented there (which you can squirrel away for future use) is that adding 16384 to that parameter produces a 'Help' button.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ