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


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


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 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.
Answered 02/13/2009 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity