01-11-2024, 01:47 AM
Hello All,
Does QB64 offer statements that utilize dual monitors?
Donald
Does QB64 offer statements that utilize dual monitors?
Donald
Dual Monitors using QB64
|
01-11-2024, 01:47 AM
Hello All,
Does QB64 offer statements that utilize dual monitors? Donald
01-11-2024, 01:58 AM
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.
01-11-2024, 07:24 PM
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
01-11-2024, 08:29 PM
(This post was last modified: 01-11-2024, 08:29 PM by TerryRitchie.)
(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.
01-12-2024, 09:09 PM
(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. |
« Next Oldest | Next Newest »
|