Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Application Icon via Visual Studio showing on taskbar but not on title window

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1 ^DJ_Link^   Members   

202
Like
0Likes
Like

Posted 17 September 2012 - 09:06 AM

Hi there.
So I added an icon to my C++ application on Visual Studio by adding an Icon to the Resources.
And it worked, but only for the taskbar, not on the window itself.

Not really sure why.

icon.png

#2 RulerOfNothing   Members   

1425
Like
0Likes
Like

Posted 18 September 2012 - 06:13 AM

How are you constructing the window? The window's icon doesn't need to be the same as the application icon.

#3 ^DJ_Link^   Members   

202
Like
0Likes
Like

Posted 18 September 2012 - 06:21 AM

How are you constructing the window? The window's icon doesn't need to be the same as the application icon.


I'm actually using SDL for window construction. I just thought that by adding the icon to Visual Studio it would be set for both the taskbar and the window title

#4 wack   Members   

1358
Like
1Likes
Like

Posted 18 September 2012 - 04:24 PM

I think this is what you need.

http://www.libsdl.org/docs/html/sdlwmseticon.html




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.