>Hello,
>
>I need to load some icons into a DBI treeview control. It seems to always want to display .ico files at 32x32, but I need to display them at the 16x16 version.
>
>Is there some property of a picture object which specifies which version of an .ico is used? Or if I loadpicture() an .ico file is there a way to specify the size of the output bitmap for savepicture()? (so I can create 16x16 bitmaps on the fly)
>
>TIA
You can set the sized in the imagelist control - but if that's not an option with dbi (been years since I worked with them), you might get some relief from:
DECLARE INTEGER LoadImage IN win32api INTEGER,STRING,INTEGER,INTEGER,INTEGER,INTEGER
Imagination is more important than knowledge