How to replace default "window" icon

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
AUGE_OHR
Posts: 2108
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: How to replace default "window" icon

Post by AUGE_OHR »

hi,

we can tell you how to use *.RC "right" ... but not how it work "wrong"

you are right that some default Icon are use when not have a *.RC in every Project.
but a *.RC File is need for Manifest which include Information of App.

---

when compile/link FAIL there is a file _temp.rc create.
i guess this file is used before own *.RC

i don´t know where _temp.rc are come from and have not look if i can modify it.
have fun
Jimmy
User avatar
salamandra
Posts: 311
Joined: Thu Jul 31, 2008 8:33 pm
DBs Used: DBF, MySQL, SQL
Location: Brazil

Re: How to replace default "window" icon

Post by salamandra »

Hi AUGE_OHR,
Thank´s for your help.
AUGE_OHR wrote: Sat May 09, 2020 8:05 pm hi,
we can tell you how to use *.RC "right" ... but not how it work "wrong"
you are right that some default Icon are use when not have a *.RC in every Project.
but a *.RC File is need for Manifest which include Information of App.
---
when compile/link FAIL there is a file _temp.rc create.
i guess this file is used before own *.RC
i don´t know where _temp.rc are come from and have not look if i can modify it.
:) Problem solved (or better: question answered).
Just specify the resource icon (by name, as included in your RC file) that you want to use as default icon and voila, works fine.

Ex. SET DEFAULT ICON TO 'iconres00'

I prefer to include all my image files and icons in HMG32.RC. This way I don't need to create any RC files for the new program,
I just use the ICO, BMP, JPG and PNG files that already exist in HMG32.RC.


[]´s salamandra - Brazil
There is one time in which is crucial awakening. That time is now. ( Buddha )
Post Reply