Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LoadPicture and .ico
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00867170
Message ID:
00868282
Views:
20
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform