RE: Win API question

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

>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