Go Back
2 Votes

POP up window box SYNMSW_MSGBOX - shows only on Primary Monitor


Closed

Using the SYNMSW_MSGBOX on multiply monitors only renders the message box on the primary monitor. 
It would be nice if the popup displayed on the monitor that the application is running on.

If running on a single monitor it works great ... many users have more then one monitor and the message box only
displays on the primary monitor.

button = %SYNMSW_MSGBOX(%atrim(ErrorMessage),D_MCENTER|D_MICONEXCLAM,'Message')
 

4 Comments | Posted by Barry Gershman to Synergy DBL, Synergy .NET on 2/13/2020 5:47 PM
Gregg Bischoff
Great idea Barry, Awesome. I'd love to see this happen!

2/20/2020 3:37 PM   0  
Geoff MacCue
I have some code I can share that will popup a message box in the centre of the calling window.
It will work on old style code ('TT:') and UI-Toolkit (u_start) and probably most other synergy style code.
It has  5 message lines that can be presented to the user.
It supports 5 different buttons and tool tips and Function Keys. If the user drags the message box to see behind, it remembers and positions to those coordinates next time as long as the window has not changed.
If anyone wants it I will publish it to code exchange.
xcall message_box (parameters...)
Let me know.

2/21/2020 8:56 AM   1  
Barry Gershman
Yes Please - that will be awesome - thank you!

2/21/2020 12:06 PM   0  
Phillip Bratt
Hi everyone. Thank you for sending that code to us Geoff. We've posted it on CodeExchange here https://resourcecenter.synergex.com/devres/code-exchange-details.aspx?id=261. If you have issues with the link then please contact support@synergex.com. 

We would consider this the answer to this Idea post and so I'm going to mark the Idea as closed.

3/19/2020 4:22 PM   0  
Please log in to comment on this idea.