Animated GIF in VB and......
Posted on 2002-03-26
I want to integrate an animated gif into my application.
No problem there, just use a webbrowser control....
That won't work, because I want to show the ANIGIF in a MDIForm. So in the grayed background.
To get ANY picture onto the background of a MDIForm I placed a picturebox on another form, placed the gif in the picture box and then at MDIForm_Load I used the SetParent API to get the picture in the background location I want. That is no problem.
EXCEPT that the picture is ALWAYS on top of everything ! So if I open a childform, the childform is displayed beneath the picture !
So this question is really about two things:
1. How can I can the/any picture in the background of a MDIForm, any location I choose and keep it in the background (like ZOrder = 0).
2. The same for an animated GIF.