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

Author Topic: Really Puzzling issue when working with SFML and Windows Forms  (Read 2309 times)

0 Members and 1 Guest are viewing this topic.

StormWingDelta

  • Sr. Member
  • ****
  • Posts: 365
    • View Profile
Not in the slightest clue what's going on but for some reason the arrow keys don't want to work but if they aren't hit first none of the other keys work until at least one of them is clicked once.


Seems the KeyPressed event isn't firing for the arrow keys but does for KeyReleased event.  Not sure what's going on but too tired to post a min example right now due to fight with this strange issue all day and wasn't sure what was going on.

Everything works just fine if the SFML window is all by itself but the arrow keys don't seem to fire the Pressed event when in a SFML Window is in a form.

I'll post an example at some point tomorrow when I get around to it and see if I can replicate it.
I have many ideas but need the help of others to find way to make use of them.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Really Puzzling issue when working with SFML and Windows Forms
« Reply #1 on: June 04, 2014, 10:11:22 am »
I'll post an example at some point tomorrow when I get around to it and see if I can replicate it.
You could have waited with your post, because the description so far doesn't allow anybody to help...

Have you tried whether the problem happens also in the C++ version?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development: