GUIALLOWED does not work that way, it is not a property that you can set.
See the documentation on it.
If you don't want to show the progress window in some cases, I suggest you write your code to create/update your progress window within an IF statement in which you test your cases to see if you can show the progress window.
Why don't you run your piece of program in a second session with startsession. This way you won't see any message, dialog box, etc.
With starsession GUIALLOWED is false, and any message or error you'll be able to see it in the Event viewer
Answers
See the documentation on it.
If you don't want to show the progress window in some cases, I suggest you write your code to create/update your progress window within an IF statement in which you test your cases to see if you can show the progress window.
which process shows a dialog? a nav dialog or an external application (print dialog).
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/
I have the same problem I dont want users the see gui messages.
I tried the code below but it didn't work.
ok is a boolean variable
xStepa
With starsession GUIALLOWED is false, and any message or error you'll be able to see it in the Event viewer