Do you know if thers?s any other way to load an icon?

Let?s supposae the default IDI_APPLICATION, is there a faster way to get its handle than invoke LoadIcon?

I mean, it has to be somewhere in the system, can?t it be accessed directly (like addr in memory) or is it stored in somewhere unknown?

Waiting replye,
Posted on 2002-06-18 12:42:33 by slop
Originally posted by fjrp2
Do you know if thers?s any other way to load an icon?
Yes, use the LoadImage API.
Let?s supposae the default IDI_APPLICATION, is there a faster way to get its handle than invoke LoadIcon?
I don't know any other faster ways to do it...LoadImage may be an alternative but I don't think it's faster than LoadIcon.
I mean, it has to be somewhere in the system, can?t it be accessed directly (like addr in memory) or is it stored in somewhere unknown?
for predefined icons(IDI_APPLICATION...) - I don't know the answer (user32.dll) ??? just my guess :). Probably on the system dll's.

As for your own icons(customized, not predefined) - it's on the executable.
Posted on 2002-06-18 13:59:40 by stryker
Thank you.

Probably if I:
invoke LoadIcon, NULL, IDI_APLICATION,
it?ll probably load a "default" value.

Sorry that I can?t check it now

( ? also lost hutch?s package in last crash :_(
we?ll have to download it again whaen arrive home )

By the way zillionmonkeys is great... i?ll spend all the weekend surfing, thanks again bitRAKE :)
Posted on 2002-06-18 14:21:59 by slop