Application switch between monitors?

Just starting out? Need help? Post your questions and find answers here.
marvin
User
User
Posts: 35
Joined: Sun Jul 18, 2004 1:43 am

Application switch between monitors?

Post by marvin »

Can someone help me with some codes to build a gadget to switch my application to a desired monitor?

I have multiple monitors and want to know how to add support in my applications, the ability to select which monitor I want to display to.

Thanks
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

the x_lib (just a regular includefile) from my website contains a documented procedure x_monitordetect(), you can use it for more information on desktops / screeens / multi monitor setup

(iirc fred has included some multi monitor (read: desktop) commands, but not complete yet)

basically, every monitor has a set of assigned coordinates and sizes, moving a window to another monitor is basically moving it to another set of coordinates, that's all that there is too it
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply