|
-
Sep 7th, 2000, 02:15 PM
#1
Thread Starter
Hyperactive Member
I would like to display an icon of my app (in about box) and I am saving each byte I can. So I decided to extract this icon, but I don't know if it is better to take it from the app window (using SendMsg WM_ICON) or to extract it from the EXE file..
Can somebody tell me the dis/advantages of both methods. Or is other? Or it will be more economic to add a icon to the image component instead of writing code?
-
Sep 7th, 2000, 02:24 PM
#2
Fanatic Member
It would be economic to do it through code, I think, and if you are so desperately saving every byte I would use ExtractIcon (to save you that valuable couple of bytes consumed by the WM_ICON constant) but if you already have SendMessage declared, I think it would be more costly to declare ExtactIcon as well.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|