I'm searching for a way to open a screen on a second desktop while the 'main' program keeps running at desktop one. With ExamineDesktops() I can get the info about the second screen, but I can't find a way to open a (full)window on it.
The idea is to create a program for presentations with a beamer.
Dual screen
-
lexvictory
- Addict

- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:
u could possibly use a seccond thread for the full screen bit and use setthreaddesktop_() for the thread, then openscreen() it....
not sure if it would work tho....
on the computer u r testing this on, use this code, then tell me wat it ses (in debug):
it might say "Default" and probably something else
btw if anyone else has a better idea and it would be easier to do, tell us now

not sure if it would work tho....
on the computer u r testing this on, use this code, then tell me wat it ses (in debug):
Code: Select all
Procedure enumdesktops(deskname.s, lparam.l)
Debug deskname
EndProcedure
enumdesktops_(GetProcessWindowStation_(), @enumdesktops(), 0)btw if anyone else has a better idea and it would be easier to do, tell us now
Demonio Ardente
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Solved
Hi lexvictory. The code produces "Default" in the debug output... Unfortunately nothing else... But...
I just noticed the post of blueznl about multiple monitors in "Tricks 'n' Tips". The code gives the coordinates of the upper left corner of each desktop as well as the width and height. Using those values I get the results I need.
Thanks!
I just noticed the post of blueznl about multiple monitors in "Tricks 'n' Tips". The code gives the coordinates of the upper left corner of each desktop as well as the width and height. Using those values I get the results I need.
Thanks!
