Skip to main content

[archive] Message Box Position

  • October 13, 2006
  • 1 reply
  • 0 views

[Migrated content. Thread originally posted on 12 October 2006]

When I use wrun32.exe to run my application, message boxes display in the center of my screen.

When I use acuthin.exe to run my application, message boxes display in the center of my main application window (no matter where it is on the screen).

Is there some setting I'm missing? My preference would be to have the message boxes to pop-up in the center of my application window.

Anyone have any ideas?

1 reply

[Migrated content. Thread originally posted on 12 October 2006]

When I use wrun32.exe to run my application, message boxes display in the center of my screen.

When I use acuthin.exe to run my application, message boxes display in the center of my main application window (no matter where it is on the screen).

Is there some setting I'm missing? My preference would be to have the message boxes to pop-up in the center of my application window.

Anyone have any ideas?
Sounds like the messageboxes on TC and the runtime are using two different flags.
There are a variety of flags that can be used with the message box to control its behavior. Not all are available to the COBOL developer.

Among these are that you can set the message box to be application modal or desktop modal.

It seems that the thin client is running application modal whereas the runtime is desktop modal.

I shall not opt for preferences, but they should certainly do the same. I suggest you file this as a bug with technical support. The two should definitely behave equally.