RE: Win API question
- Posted by "Philip Deets" <philip1987 at hotmail.com> Dec 10, 2003
- 486 views
I just tried every number from 1 to 10, none of them look any different, they all look crammed. Also, where can I find an icon editor? I don't have one. Phil ------ Bernie Ryan wrote: >Yes, but how do I get it to display the 16x16 version of the icon >instead of the crammed 32x32 version? Philip: I look at the ICON used on NotePad and it contains 8 icons. first, forth, and eight icons are the smallest icons. icon = addIcon( w32Func( xExtractAssociatedIcon, { 0, "C:\\myfile.txt", 0 } ) ) In the last parameter you used index zero which will try to use a default because you didn't use a specific index. Try using 1, 4, or 8 in the last parameter. Bernie