Re: Icon resolution in ListView
- Posted by jordah at btopenworld.com Jan 08, 2003
- 407 views
hi Chris, I cannot replicate you're problem as here everything works out just fine. what listview style is being used? Try using LVS_ICON on its own. Also the shell provides up to 65 icons, so try changing the 1 to anyvalue in between. ic = addIcon( extractIcon( {"shell32.dll", 8} ) ) ----- Original Message ----- From: <cafromsw at yahoo.com> To: "EUforum" <EUforum at topica.com> Subject: Icon resolution in ListView > > Hello my name is Chris I am fairly new to Euphoria and > brand new to this list. I have been searching the > archives (excellent tool btw) for a while to answer my > questions but this one has me stumped. I have > extracted the first icon from shell32.dll to use in a > ListView > > ic = addIcon( extractIcon( {"shell32.dll", 1} ) ) > > I believe this is the default icon Windows uses if it > doesn't know a file type. The problem is that the > icon looks 'washed out' kind of fuzzy or low > resolution. When I display my ListView and compare > the icon to the icon Windows displays in an Explorer > window set to View Details the Windows icon is crisper > with more detail/color. This is true for all of the > ListView demos and programs that I tried. Does anyone > else have this problem? I am using win32lib 0.57.9, > Judith's IDE 15 on WinME. An interesting side note is > that if I use loadLVInfo() every row gets the first > icon I added/extracted. Anyway thanks in advance, I > have already a condiderable amount just from reading > this list. Chris > > > > TOPICA - Start your own email discussion group. FREE! >