Opening Window on Specific Monitor?

More advanced topics discussed.

Moderators: Susan Smith, admin, Gabriel

Post Reply
bluesfannoz
Posts: 291
Joined: Fri Jun 19, 2009 9:01 am
Location: Lawrence, Kansas
Contact:

Opening Window on Specific Monitor?

Post by bluesfannoz »

Is there a way to open a Window on a specific Monitor?

We are implementing an Activity Timeout in our application and I would like for a warning box to pop up on all monitors.

I can parse the env$ variables and determine what monitors there are. But can I create a window on a specific monitor?
Steve Koger
Computer Specialist
SEKESC-MACS Division
gordon
Posts: 358
Joined: Fri Apr 24, 2009 6:02 pm

Re: Opening Window on Specific Monitor?

Post by gordon »

"To position a window on a second monitor, specify a starting position to the right of the last position of the first monitor."
http://brwiki2.brulescorp.com/index.php ... pen_Window

Use ENV$("MONITOR1", MAT <num-arrayname>) to interrogate the size of the first monitor.
http://brwiki2.brulescorp.com/index.php?title=Env$
bluesfannoz
Posts: 291
Joined: Fri Jun 19, 2009 9:01 am
Location: Lawrence, Kansas
Contact:

Re: Opening Window on Specific Monitor?

Post by bluesfannoz »

Interesting. Will have to do some testing. I am concerned what happens on a machine where 2nd monitor is to left rather than right if you will need to be negative as opposed to positive. Plus what do you do if they have 3 or 4 monitors?

Seems to me a better implementation would be to give the ability to specify a monitor to place a window upon.
Steve Koger
Computer Specialist
SEKESC-MACS Division
gordon
Posts: 358
Joined: Fri Apr 24, 2009 6:02 pm

Re: Opening Window on Specific Monitor?

Post by gordon »

I agree with your assessment. I will add your suggestion to the queue.
Post Reply