ShonGail Posted August 12, 2006 Share Posted August 12, 2006 Hello all Is it possible to use a .gif file into a button (GUICtrlCreateButton) ? When i use a .bmp, no problem but a .gif file doesn't appear :/ Thank you PS : it's not an animated gif Link to comment Share on other sites More sharing options...
BigDod Posted August 12, 2006 Share Posted August 12, 2006 As far as I know only bitmaps and icons are supported on buttons. It should be an easy matter to convert your gif to a bitmap. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
ShonGail Posted August 12, 2006 Author Share Posted August 12, 2006 (edited) As far as I know only bitmaps and icons are supported on buttons. It should be an easy matter to convert your gif to a bitmap.Yes it's easy but I would use a .gif image retrieved from a web page (with Inetget) to let my script standalone without files attachedBut it's not a big problem ... I used icons from shell32.dll Thank you for your response EDIT : and sorry for my english Edited August 12, 2006 by ShonGail Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 12, 2006 Share Posted August 12, 2006 EDIT : and sorry for my english Y'all talked gooder english than me! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Confuzzled Posted August 13, 2006 Share Posted August 13, 2006 GUICtrlCreateButton can use an icon or a bitmap but not a gif file.You can convert your image after downloading it and before using it for your button. This means a conversion program will have to be available on the PC you are running the program every time you do this.Why don't you download it beforehand on your PC, convert it, and then FileInstall it within your working program when you are compiling it? (Don't forget to delete the FileInstalled image after use it in your button to make everything nice and clean)Good luck! Link to comment Share on other sites More sharing options...
ShonGail Posted August 13, 2006 Author Share Posted August 13, 2006 GUICtrlCreateButton can use an icon or a bitmap but not a gif file.You can convert your image after downloading it and before using it for your button. This means a conversion program will have to be available on the PC you are running the program every time you do this.Why don't you download it beforehand on your PC, convert it, and then FileInstall it within your working program when you are compiling it? (Don't forget to delete the FileInstalled image after use it in your button to make everything nice and clean)Good luck!Hello ! You learn me the "fileinstall" existence I will use it the next time !Thank you a lot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now