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

Author Topic: [SOLVED] Icon on taskbar  (Read 2281 times)

0 Members and 1 Guest are viewing this topic.

xzxvvxzx

  • Newbie
  • *
  • Posts: 7
    • View Profile
[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
« Last Edit: February 05, 2013, 07:43:47 am by xzxvvxzx »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Icon on taskbar
« Reply #1 on: February 05, 2013, 04:04:19 am »
Afaik the icon in the taskbar and the icon on the top left window corner are the same and can be set by calling window.setIcon().
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

xzxvvxzx

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Icon on taskbar
« Reply #2 on: February 05, 2013, 07:42:40 am »
Thanks!

 

anything