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

Author Topic: Microsoft .Net with SFML; Windows Forms  (Read 3740 times)

0 Members and 1 Guest are viewing this topic.

Mr. X

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Microsoft .Net with SFML; Windows Forms
« on: September 04, 2008, 06:33:21 pm »
Hello,
I've a question. in General it is possible to use some classes/funktions of .Net with SFML, like Timers(quite useful if you only use Microsoft Windows :wink: ) for example.
But is it also possible, to display Windows Forms Buttons in an SFML Window, or to display the SFML Graphic in an Windows Forms Window?

Sorry for my bad English, I'm German(What about a german part of the forum  :?: )

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Microsoft .Net with SFML; Windows Forms
« Reply #1 on: September 04, 2008, 10:49:52 pm »
There's a .Net binding of SFML, and a forum to have conversations about it ;)

And like with other languages, it's possible to use SFML in a window which has already been created externally (so in the case of .Net, a Form).
Laurent Gomila - SFML developer

Mr. X

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Microsoft .Net with SFML; Windows Forms
« Reply #2 on: September 05, 2008, 02:43:05 pm »
But I thought that the .net Binding is C# only. Is it also possible with C++(I forgot to write that)?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Microsoft .Net with SFML; Windows Forms
« Reply #3 on: September 05, 2008, 04:38:39 pm »
The binding is written in C#, but is then compatible with any .Net language.

But for C++/CLI I guess you can directly import and use the C++ libraries.
Laurent Gomila - SFML developer

Mr. X

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Microsoft .Net with SFML; Windows Forms
« Reply #4 on: September 05, 2008, 09:57:27 pm »
OK, thank you, I'll try it!

 

anything