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

Show Posts

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.

Topics - xzxvvxzx

Pages: [1]
Window / [2.0] Mouse Wheel
« on: June 21, 2013, 02:52:38 am »
Hello, I want to use mouse wheel but when I type:

int mouse_wheel;
if (event.type == sf::Event::MouseWheelMoved)
    mouse_wheel = event.mouseWheel.delta;

mouse_wheel is always 0. How to handle mouse scrolling? I am using Windows 7 and Microsoft Wireless Mobile Mouse 3500.

EDIT: It sometimes change to 1 but I need to move mouse wheel very fast. Is there any way to detect slow mouse wheel movement?

General / [SOLVED] Icon on taskbar
« on: February 05, 2013, 04:00:33 am »
I would like to know how to display specific icon on taskbar instead of the default one. I know that changing .exe icon is IDE specific. I managed to change .exe icon with resource file (.rc)

#ifndef _resource_rc
#define _resource_rc



However it only changes .exe icon and icon displayed on taskbar remains the same.

I am using SFML 2.0 and Code::Blocks

Graphics / [SOLVED] Free image memory
« on: January 21, 2013, 09:38:09 pm »
I want to know if there is any way to free image memory.

Window / [SOLVED] Disable Window resize
« on: January 21, 2013, 12:54:03 am »
I want to disable window resize in my program. All I could find was:

Code: [Select]
sf::RenderWindow Window(sf::VideoMode(800, 600, 32), "Window", sf::Style::Resize);
sf::Style::Resize removes close/minimize buttons from title bar, but I can still resize window. I am using SFML 1.6

Pages: [1]