Theos PowerBasic Museum 2017

Archive => Discussion - Legacy Software (PBWIN 9.0+/PBCC 5.0+) => Topic started by: Frank Applin on March 25, 2011, 09:42:09 PM

Title: Loading an array of images from files?
Post by: Frank Applin on March 25, 2011, 09:42:09 PM
I'm using Jose's GdipImageCtx control and I was wondering if there are any suggestions for loading an array of images. I will be loading them from files, so I will be using  GdipImageCtx_LoadImageFromFile.

Would I just create - what would basically be an array of control handles?

Thanks.
Title: Re: Loading an array of images from files?
Post by: José Roca on March 26, 2011, 12:45:50 AM
Don't know what you mean with an array of control handles. You only can load an image in an instance of the control. Therefore, if you want two or more images in your program, you will have to create two or more instances of the GdipImageCtx control.