[RESOLVED] about see the images in right way
i'm using visual basic 6.
i have a sprite control and i have a filename property... the control is working ok... can read animated cursors, but the problems are:
-i can't see the images in right way(graphics), but if i use the img property i can see in right way;
-i don't know why the transparency isn't working with these files...
heres my project...
can anyone help me?
thanks
Re: about see the images in right way
if i change backstyle property to opaque in usercontrol, i can see the right image... but i can't see only the image... i don't want see the backcolor...
can anyone help me?
thanks
Re: about see the images in right way
i just resolve the problem... in transparent sub i change some code... i put an if to see if the filename was *.ani or not and if it is then in getpixel function i change the position to 32X32 and for other files i put 0X0... and then i resolve the problem...
and for the image size: in *.ani files i change to these code:
Code:
UserControl.Width = 32 * Screen.TwipsPerPixelX
UserControl.height = 32 * Screen.TwipsPerPixelY
thanks to everyone