Page 1 of 1
[Solved] 2nd monitor
Posted: Thu Jul 18, 2024 5:04 pm
by k3pto
I can get a movie to display on multiple windows of my main monitor, how can I display it on a 2nd monitor? Should I use a Window, Canvas, Screen or something else? I tried searching the forum and did not find anything that would help.
Using the Desktop functions I was able to implement views on multiple monitors. Thanks for all who submitted a response.
Re: 2nd monitor
Posted: Thu Jul 18, 2024 5:19 pm
by jacdelad
Using a canvas or something else has nothing to do with a second, third or whatever monitor.
So, what's your question really about? Where to play a video or how to use a second monitor? The first one has examples in the help and in this forum, for the second one: the coordinates expand to the second monitor, depending on where it is placed (in relation to your main monitor).
Re: 2nd monitor
Posted: Thu Jul 18, 2024 8:03 pm
by Nituvious
I think I understand your question, found the other topic you made and came back here. I had to look through the help file because terminology isn't universal, but I think what you're wanting is the desktop library
The help file talks about ExamineDesktops(), DesktopX()/DesktopWidth() etc. I assume on window creation you would just use DesktopX()/DesktopY() as the windows coordinates and your own offsets before window creation.
Re: 2nd monitor
Posted: Fri Jul 19, 2024 1:46 am
by BarryG
k3pto wrote: Thu Jul 18, 2024 5:04 pmhow can I display it on a 2nd monitor?
Just change the X/Y position of the movie's window (they can be negative). Yep, that easy.

Re: 2nd monitor
Posted: Fri Jul 19, 2024 6:36 pm
by k3pto
Thanks Nituvious and BarryG (again!). That helps.
Re: 2nd monitor
Posted: Thu Jul 25, 2024 11:49 pm
by k3pto
I have most of the program working now. However, I still have a problem. I have successfully created my main window and a child window within it. How do I now set the focus back to the main window so I can create more gadgets on it? I tried using SetActiveWindow but that does not seem to work.
Re: 2nd monitor
Posted: Fri Jul 26, 2024 12:42 am
by jacdelad