1
SFML website / Re: New forum
« on: March 25, 2012, 05:53:23 am »
Nice and clean indeed

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
// Rotate the sprite
if (GetInput().IsMouseButtonDown(sf::Mouse::Left)) mySprite.Rotate( GetFrameTime() * 50);
if (GetInput().IsMouseButtonDown(sf::Mouse::Right)) mySprite.Rotate(-GetFrameTime() * 50);
Passing the handle of your MFC view to a SFML RenderWindow (or Window) should be enough.Code: [Select]sf::RenderWindow sfmlView(mfcView.GetSafeHwnd());
By the way, if you can choose, don't choose MFC. This is the worst library you can use for GUI stuff.