Give Sprite a File's Icon?

For questions about using Classic.

Post » Mon Nov 14, 2011 5:34 pm

I'm trying to figure out how to give a sprite the image of a program's icon.

Is there a way to do this?
Follow me on Twitter @evgLabs
B
33
S
14
G
4
Posts: 251
Reputation: 4,049

Post » Tue Nov 15, 2011 7:16 pm

This works using python to access the winapi:
http://dl.dropbox.com/u/5426011/examples%208/getIco.zip

Note: The transparency of the icon is not preserved with this method.
B
79
S
24
G
54
Posts: 4,753
Reputation: 40,769

Post » Tue Nov 15, 2011 7:55 pm

[QUOTE=R0J0hound] This works using python to access the winapi:
http://dl.dropbox.com/u/5426011/examples%208/getIco.zip

Note: The transparency of the icon is not preserved with this method.[/QUOTE] That's really cool. But I don'tunderstand it.
B
18
S
4
G
1
Posts: 413
Reputation: 2,512

Post » Tue Nov 15, 2011 8:13 pm

If R0J0's way is too complicated, why not just use sprites?
Google search. You could just load them?
B
24
S
9
G
2
Posts: 294
Reputation: 3,160


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests