home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15436 < prev    next >
Encoding:
Text File  |  1992-09-13  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!sgiblab!a2i!brian
  3. From: brian@rahul.net (Brian Feinberg)
  4. Subject: Change main screen without rebooting?
  5. Message-ID: <BuK0Fr.40z@rahul.net>
  6. Summary: Need to change main screen before launching a game
  7. Keywords: gworld gdevice quickdraw monitor hardware
  8. Sender: news@rahul.net (Usenet News)
  9. Nntp-Posting-Host: bolero
  10. Organization: a2i network
  11. Date: Mon, 14 Sep 1992 05:55:03 GMT
  12. Lines: 17
  13.  
  14.  
  15. I recently added a second monitor to my system. It is larger than my
  16. original one, but only has 4 bit color. Now I find that when I run certain
  17. games, it would be preferable for them to come up on the smaller screen,
  18. because of its greater color depth. However, many games just take over the
  19. screen, without creating a window, and the only thing I can do now is
  20. go to the Monitors control panel and reboot.
  21.  
  22. I have been trying to write a small app that would change the main screen
  23. just before Launch-ing a selected program, with the idea of fooling
  24. the app into coming up on my other montiro. I've tried messing with
  25. SetDeviceAttributes on the GDevices, and chaning the MainDevice global.
  26. So far, no luck. Is there a way to do this?
  27.  
  28. -- Brian Feinberg
  29. --
  30. Brian Feinberg <brian@rahul.net>
  31.