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.


Messages - xzxvvxzx

Pages: [1]
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?

2
General / Re: Icon on taskbar
« on: February 05, 2013, 07:42:40 am »
Thanks!

3
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

MAINICON ICON "icon.ICO"

#endif

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

I am using SFML 2.0 and Code::Blocks

4
Graphics / Re: Free image memory
« on: January 22, 2013, 03:58:31 am »
Quote
It is done automatically by SFML's classes. You need not worry about it, unless you manage memory manually (which you should not do).

Well, that's what I wanted to know, thanks for answer!

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

6
Window / Re: Disable Window resize
« on: January 21, 2013, 01:11:55 am »
Thank you, now it's working :)

7
Window / [SOLVED] Disable Window resize
« on: January 21, 2013, 12:54:03 am »
Hello
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]