Dual Monitors using QB64 - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2) +--- Thread: Dual Monitors using QB64 (/showthread.php?tid=2384) |
Dual Monitors using QB64 - Donald Foster - 01-11-2024 Hello All, Does QB64 offer statements that utilize dual monitors? Donald RE: Dual Monitors using QB64 - SMcNeill - 01-11-2024 No in particular. You can always either use _NEWIMAGE to create one screen of sufficient size to span both monitors, or else you can use _CONSOLE and move a console window to the second monitor, but we don't have multiple screens otherwise. RE: Dual Monitors using QB64 - Donald Foster - 01-11-2024 Thank you for the info. Do you any sample code that uses these statements? Let's say I connect a monitor to my laptop, how do you designate what is drawn to the monitor? Donald RE: Dual Monitors using QB64 - TerryRitchie - 01-11-2024 (01-11-2024, 07:24 PM)Donald Foster Wrote: Thank you for the info. Do you any sample code that uses these statements? Let's say I connect a monitor to my laptop, how do you designate what is drawn to the monitor?You won't be able to designate an individual monitor. QB64 uses multi monitor setups as one big screen. For example, I have two 1920x1080 monitors set up in windows as being side by side. If I create a screen such as: SCREEN _NEWIMAGE(2500, 1080, 32) my entire left monitor (monitor 1) and part of my right monitor (monitor 2) are used. RE: Dual Monitors using QB64 - madscijr - 01-12-2024 (01-11-2024, 01:47 AM)Donald Foster Wrote: Hello All,No but we had a discussion about this a few months back (you can search the forums or I can post a link later). One idea was to use a second program that would run in monitor #2, that would just be to drive the secondary display, that the main program would communicate with to tell it what to display. As I recall, someone suggested having them communicate with network calls as the fastest way. I haven't tried it yet but it seems worth looking into. |