About Store Forum Documentation Contact
Donations:
140$/mo



Post Reply 
Icon
Author Message
Krzysiek1105 Offline
Member

Post: #1
Icon
I added this: # include "resource.h"
App.icon = (Char *) IDI_ICON1
, but it does not work. : (
10-24-2009 08:47 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Icon
please check tutorial 00 - start
10-24-2009 11:14 AM
Find all posts by this user Quote this message in a reply
Krzysiek1105 Offline
Member

Post: #3
RE: Icon
I copied the entire tutorial and still the same. : (
10-24-2009 11:49 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Icon
the icon needs to be embedded into project as a resource
10-24-2009 01:26 PM
Find all posts by this user Quote this message in a reply
Krzysiek1105 Offline
Member

Post: #5
RE: Icon
Icon Location: Project_name/icon.ico
10-24-2009 03:08 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: Icon
the location doesn't matter, what matters is that it must be embedded in project as resource, (copy the files resource.h, resource.rc from the SDK) and just replace your icon, search google more for c++ projects and resources
10-24-2009 04:53 PM
Find all posts by this user Quote this message in a reply
Barthap Offline
Member

Post: #7
RE: Icon
in Visual Studio open project, in solution explorer click right mouse button on project name then click Add->Existing item, select resource.h, resource.rc, icon.ico
10-24-2009 08:43 PM
Find all posts by this user Quote this message in a reply
Krzysiek1105 Offline
Member

Post: #8
RE: Icon
(10-24-2009 08:43 PM)Barthap Wrote:  in Visual Studio open project, in solution explorer click right mouse button on project name then click Add->Existing item, select resource.h, resource.rc, icon.ico

THX Barthap wink
10-25-2009 06:01 AM
Find all posts by this user Quote this message in a reply
Post Reply