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

Author Topic: Drag and Drop or Windows Messages?  (Read 1482 times)

0 Members and 1 Guest are viewing this topic.

PatrickAupperle

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Drag and Drop or Windows Messages?
« on: August 28, 2014, 06:18:02 am »
I need to be able to drop a file into an SFML window. Implementing drag and drop seems to be impossible, though. Any method to do drag and drop on Windows seems to require access to the message queue, which SFML does not provide. Can anyone help with this? Is it just impossible to do drag and drop with SFML?

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Drag and Drop or Windows Messages?
« Reply #1 on: August 28, 2014, 02:21:35 pm »
Access to the window's raw events is not currently possible through SFML's window management but is considered for a future version.

You could create the window directly yourself and then use SFML within it. I'm almost certain that that's possible.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*