viewpoint-particle

Author Topic: Display Function centers on Primary monitor  (Read 1494 times)

btgrant

  • Newbie
  • *
  • Posts: 1
Display Function centers on Primary monitor
« on: April 15, 2015, 01:53:48 pm »
I am using Dynamic Dialogs in many of my projects.  Often I need to display a message to the user, and I use the display function:  Display(3,"This is the Title","This is the message")

The problem I run into is that the display message always shows centered in the primary monitor.  It doesn't matter what monitor the compiled exe is displaying on.

Most of our users have 2 monitors, some have 3 and a few have 4.  Displaying a message 3 monitors away from the program doesn't work very well and makes my projects look unprofessional.

I can control the display location of child Dialog windows, is there any way to control where a display message shows?

td

  • Tech Support
  • *****
  • Posts: 1955
    • WinBatch
Re: Display Function centers on Primary monitor
« Reply #1 on: April 16, 2015, 06:43:34 am »
Since you are already familiar with WIL dialogs, the most elegant solution might be to  create your own Display function using a WIL dialog box. 
"DON'T PANIC”
The Hitchhiker's Guide to the Galaxy, Douglas Adams


....IFICantBYTE

  • Full Member
  • ***
  • Posts: 116
Re: Display Function centers on Primary monitor
« Reply #2 on: December 23, 2015, 05:10:15 pm »
You have probably sorted this out by now, but I just posted a custom message dialog function in the Script Exchange section that will do what you want... look for "Message Dialog with bells and whistles"
Regards,
....IFICantBYTE

Nothing sucks more than that moment during an argument when you realize you’re wrong. :)