-
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?
-
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.