StrataFrame Forum

Multi-Monitor support for Message Form?

http://forum.strataframe.net/Topic30230.aspx

By Edhy Rijo - 8/5/2011

I have couple of customers which uses 2 monitors and run my application from the secondary monitor.  Whenever I display a message using the form's Me.ShowMessageByKey() the message is being displayed on the Primary Monitor instead of the one where the application is running.

Same thing happens with the WaitWindow control when is executed from a class file instead of a form.

I see the sub SetFormPosition() in the MessageForm.vb code, but still don't know why some of my messages are shown in the Primary monitor and not in the one where the application is being shown.  I even keep the mouse in the secondary monitor, but still it will show in the primary one.
By Ivan George Borges - 8/7/2011

Hey Edhy!

If you have a look at the MessageForm's StartPostion property you will see it is set to CenterScreen. So I guess the SetFormPosition is not doing any good. To fix this, change the MessageForm's StartPostion to Manual and recompile the SF source code. This should make it work properly. Don't forget to make annotations about this if we get a next release without this change, so you can update it again. I am doing the same over here.
By Edhy Rijo - 8/7/2011

Hi Ivan,

Thanks I will try that.