Results 1 to 5 of 5

Thread: Asphyre program in fullscreen on secondary monitor?

  1. #1

    Asphyre program in fullscreen on secondary monitor?

    Hi there,

    I am just writing an utility and the main thing is to run a configuration utility on the laptop TFT screen and a graphical tool showing some content on the secondary out-port of the graphic card.
    I would like to use Asphyre to make the graphical tool, but when changing to fullscreen, it always switches to the TFT...
    How can I prevent this?
    <a href="http://www.greatgamesexperiment.com/game/Valgard/?utm_source=gge&amp;utm_medium=badge_game"><img border="0" alt="GGE" title="GGE" src="http://static.greatgamesexperiment.com/badge/game/valgard/gge400x56.png"></a>

  2. #2

    Asphyre program in fullscreen on secondary monitor?

    Asphyre uses the default adapter in Direct3D mode. For software emulation mode, you can run it in windowed mode and then drag to another monitor. For Direct3D and full-screen, you have to initialize the device directly, use PDraw.Device.InitDeviceEx() method, in which you can specify which adapter to use (0 is the default adapter, 1 - secondary adapter, etc.)

    Cheers,
    Lifepower

  3. #3

    Asphyre program in fullscreen on secondary monitor?

    Hello lifepower,

    I've played around with it, but I am not able to init a device with this method. Could you please give a sample on how to do it exactly?
    I took your sample program "prA-mitives" and tried to exchange the initdevice against initdeviceex by copying the content of initdevice and changing adapter to 1. Does'nt seem to work. I get the form but no Asphyre content.

    Greetings ,

    Dirk
    <a href="http://www.greatgamesexperiment.com/game/Valgard/?utm_source=gge&amp;utm_medium=badge_game"><img border="0" alt="GGE" title="GGE" src="http://static.greatgamesexperiment.com/badge/game/valgard/gge400x56.png"></a>

  4. #4

    Asphyre program in fullscreen on secondary monitor?

    Any error codes?

    Might be that your laptops gfxcard dont support Direct3D on sec. monitor?

  5. #5

    Asphyre program in fullscreen on secondary monitor?

    I had no look on errorcodes, it was just a simple test.
    I will make another try and take care of the errorcodes.
    <a href="http://www.greatgamesexperiment.com/game/Valgard/?utm_source=gge&amp;utm_medium=badge_game"><img border="0" alt="GGE" title="GGE" src="http://static.greatgamesexperiment.com/badge/game/valgard/gge400x56.png"></a>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •