VB5: Anwendung auf Sekundärem Bildschirm starten
Hallo,
ich versuche eine Vollbild-Anwendung mit Visual Basic 5 zu erstellen.
Momentan habe ich ein Problem damit wenn der PC 2 Bildschirme angeschlossen hat. Die Anwendung wird immer auf dem primären geöffnet.
Ich möchte jetzt einen Button einbauen der die Anwendung auf dem anderen Bildschirm anzeigt.
(evtl auch die Möglichkeit dass dann auf beiden Bildschirmen das gleiche zu sehen ist obwohl "erweiterter Desktop" aktiviert ist)
Jetzt weiß ich nicht nach was ich bei Google überhaupt suchen muss. Gibt es da irgendeinen Fachbegriff?
Gegen ein fertiges Codebeispiel hätte ich auch nichts.
Schon mal im Voraus Danke für jede Hilfe.
Gruß Steffen
Antwort schreiben
Antwort 3 von steffen2 vom 27.08.2020, 07:01 Options
kennt jemand den Befehl / API-Aufruf ?
Antwort 4 von steffen2 vom 10.09.2020, 20:50 Options
nochmal hoch - ein letzter Versuch
Antwort 5 von Marvin42 vom 10.09.2020, 22:54 Options
Tach!
Zitat:
Full-screen is a feature provided by the operating system that allows a user to toggle an application into a special state where the application can access VGA graphics hardware directly. This is a key feature for games and other graphics-focused applications that require high performance. Also, it is often used by developers for text editing since it enables very fast text scrolling.
In a multiple monitor environment, only one graphics device can be VGA compatible. This is a limitation of computer hardware which requires that only one device respond to any hardware address. Because the VGA hardware compatibility standard requires specific hardware addresses, only one VGA graphics device can be present in a machine and only this device can physically respond to VGA addresses. Thus, applications that require going full screen will only run on the particular device that supports VGA hardware compatibility.
(
MSDN)
In other words: Demnach kann das zweite nicht gehen.
Zum eigentlichen Problem: Habe kaum noch Ahnung von VB und WinAPI-Funktionen habe ich auch ewig nicht genutzt, deshalb gebe ich dir noch mal das
MSDN an die Hand, um nach einer Lösung suchen zu können.
Bis denne.
Antwort 6 von steffen2 vom 11.09.2020, 19:29 Options
danke für die Antwort!
Aber da verstehe ich jetzt beim ersten lesen nur Bahnhof.
Ich habe eine ganz normale Anwendung die eben den ganzen Bildschirm benutzt und keine Leiste oben hat. Die verändert aber nicht die Auflösung.
Ich werde mir das aber alles mal die nächsten Tage in Ruhe durchlesen.
Gruß Steffen