LoadResPicture

the master
01-01-2008, 01:16 PM
Hi. I need to load a gif into an stdpicture variable. The gif needs to be stored in a resource file. Ive tried LoadResPicture which looks like exactly what i want except it doesnt seem to like gifs.

Is there a way to load a gif from a resource file without having to save it to a file and load it back in using loadpicture() or is there another format which is supported by LoadResPicture() and supports semi-transparency?

OnErr0r
01-01-2008, 01:40 PM
Search the forum for PictureFromRes, which allows you to use GIF or JPG, in addition to the other normally acceptable image types.

the master
01-01-2008, 02:26 PM
Thanx. I found the code and its working perfectly:D

For future reference the code is found here (http://www.xtremevbtalk.com/showpost.php?p=495265&postcount=3) and usage is explained here (http://www.xtremevbtalk.com/showpost.php?p=1122082&postcount=5)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum