Dealing with Multiple Monitors
Question:
I am just starting with Winbatch. I found WinPlace, and it's dimensions are documented to relate to the primary monitor:
"Note: 1000x1000 virtual screen size is based on the primary monitor in a multi-monitor display configuration". How do I
address other monitors?
Answer:
Basically WinBatch regards the 0-999 as the virtual co-ordinates of the main monitor and assuming the second monitor is
to the right, 1000 to 1999 as the horizontal co-ordinates of the second window.
User Reply:
Great - tested and worked well - thanks
Question:
I am having a problem with this basic function -'message("title","text")' in that upon execution I cannot see the message box on the screen. It's almost as if it's "off screen" or minimized.
The same happens with the command "AskYesNo", but does not happen with with "AskLine" or "Display".
Any ideas? I am using winbatch 2004F.
Answer:
WinBatch has supported multi monitor systems since 2002 and I have been using it on multi monitor systems since that time.
I can't say that I have ever seen the behavior you describe nor do I recall anyone reporting such behavior in the past.
There have been a few multi monitor bug fixes over the years but I know of none that effect the functions in question.
The functions you are using should just default to displaying on the primary monitor.
There must be something unique about your setup that is causing this problem. It could have something to do with how
secondary monitors are placed in relation to the primary monitor or perhaps a device driver problem.
You might try using IntControl 63 to change the positioning of the "ask" dialogs and report back any
settings that make those dialogs viewable on your system.
Article ID: W17430
File Created: 2008:04:10:15:09:56
Last Updated: 2008:04:10:15:09:56