RE: Win API question

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu