|
-
Mar 11th, 2000, 02:38 AM
#1
Frenzied Member
Try going to the project Menu and Selecting Components.
You will be presented with a huge list of additional controls to use select Microsoft Windows common Controls 6.0
and close the window, You should get some extra controls in your toolbox one of which should be an Imagelist control.
you can use this to hold all the images you need(just put one on the form and right click it then select Properties from the menu, the wizard is fairly self explanitory)
once you have all the pictures you need in the control use as few image controls as you need to display all the images you want at the same time then you can set which image to display in the immage box with the command line
Image1.picure=imagelist1.item(x)
where image1 is the imagebox you want to put the image in
imagelist1 is the image list controll youve just added and
x is the index of the image you want to display
image boxes use less memory than picture boxes but have an annoying habit of flickering.
I'm going to write you some code for using the BitBlt API to put these images directly on the form if you want to use a whole shitload of images at the same time. It Should be there in 5 or 10 minutes.
(or I might have a cup of coffe and a *** first)
(*** is Engish for cigarette so don't go thinking i'm strange)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|