RE: Win API question
- Posted by "Bernard W. Ryan" <xotron at bluefrognet.net> Dec 10, 2003
- 483 views
>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