• Welcome to Theos PowerBasic Museum 2017.

News:

Attachments are only available to registered users.
Please register using your full, real name.

Main Menu

Loading an array of images from files?

Started by Frank Applin, March 25, 2011, 09:42:09 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Frank Applin

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.

José Roca

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.