-
June 17th, 2009, 07:06 PM
#1
Animated GIF's as back ground under push buttons in MFC
Hi All,
I have MFC form view application on which I have some push buttons. I want to display animated GIF's such water flowing from left tp right as back ground Image and on top this image I want to place my buttons. What I mean is push buttons has to be placed on animtaed GIF instead of default back ground.
I check Add GIF-animation to your MFC and ATL projects with the help of CPictureEx and CPictureExWnd project in the link
http://www.codeproject.com/KB/graphics/pictureex.aspx
but when I am running the application the buttons are covered by GIF's .. I am unable to see the buttons ..
Please let me know how to do this ...
-
June 17th, 2009, 08:12 PM
#2
Re: Animated GIF's as back ground under push buttons in MFC
Set the tab order of the GIF to be indexed lower than the buttons.
The tab order is used to determine the Z-order of the controls.
-
June 18th, 2009, 04:46 AM
#3
Re: Animated GIF's as back ground under push buttons in MFC
Use IE COM to play animated GIF (nearly no code needed.)
-
June 18th, 2009, 04:47 PM
#4
Re: Animated GIF's as back ground under push buttons in MFC
Hi experts ,
Thank yopu for your response. My application is a MFC form view window application with some controls on it .. those controls are like push buttons, check boxes and radio buttons .. So carl666 can I use the suggestion given by you for this application .. I am not sure but please let me know ..
and about Arjay suggestion I will try to let you know the result ..
Once again thank you all for your response
-
June 22nd, 2009, 02:52 PM
#5
Re: Animated GIF's as back ground under push buttons in MFC
Hi Arjay...
Set the tab order of the GIF to be indexed lower than the buttons ...
by following your suggestion I changed GIF indexed as lower than the buttons but still my buttons are covered by GIF.. Is their anything any needs do other than lowering the index number of GIF ..
Please let me know so that I can try that option .. Thank you very much in advance
Tags for this Thread
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
|