Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Duel Monitors  (Read 2061 times)

0 Members and 1 Guest are viewing this topic.

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Duel Monitors
« on: January 12, 2012, 03:23:14 pm »
Ok so I just found SFML and I really love the simplicity of your library. So I am developing an app using .NET and SFML that will be ran on a computer with duel monitors. My questions are...
1. Is there any way to get a list of monitors and then open SFML window on the specified monitor?
2. This isn't as important as #1, but is there a way to draw on a user control in a form instead of just to the render window?

Thank you for answering these questions.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Duel Monitors
« Reply #1 on: January 12, 2012, 03:27:40 pm »
Quote
1. Is there any way to get a list of monitors and then open SFML window on the specified monitor?

No.

Quote
2. This isn't as important as #1, but is there a way to draw on a user control in a form instead of just to the render window?

Yes, you should find more details about this in the DotNet forum.
Laurent Gomila - SFML developer

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Duel Monitors
« Reply #2 on: January 12, 2012, 03:51:29 pm »
Quote
Yes, you should find more details about this in the DotNet forum.


Thanks for the reply Laurent, I am currently looking through the DotNet forum for something but have not found anything(yet). I was hoping if you had any examples or links you could post them. I have tried this but it doesn't work.
Code: [Select]
_window = New RenderWindow(form1.Handle)
Edit Ok sorry about my ignorance, I just found my issue... Thank you for your time.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor