kevin shen
August 23rd, 1999, 11:04 AM
I want to use picture control to insert bitmap. Why does it only accept .ico, not other bitmap like .gif? How can I convert .gif to .ico?
Thank you for your help.
kshen
Thank you for your help.
kshen
|
Click to See Complete Forum and Search --> : How can I Load Picture to Dialog? kevin shen August 23rd, 1999, 11:04 AM I want to use picture control to insert bitmap. Why does it only accept .ico, not other bitmap like .gif? How can I convert .gif to .ico? Thank you for your help. kshen DHunter21 August 23rd, 1999, 01:02 PM When you plop down a picture control, go into properties and select type. From there you can select whether it is an icon, frame, or Bitmap. Then you can select the bitmap you want to show... kevin shen August 23rd, 1999, 01:20 PM I tried. The problem is how I can insert a bitmap resource. Insert bitmap only accept .ico, other like .gif only open the binary file to you. thanks, kshen DHunter21 August 23rd, 1999, 06:03 PM Go to the resource tab. Right click mouse... and Select Import. Change the File Type to "All Files(*.*)". Select your bitmap... click Ok... and it will insert it as a resource named IDB_BITMAP1. kevin shen August 23rd, 1999, 08:01 PM I tried. After Select bitmap... click Ok... It shows Custom Resource Type dialog want me to input Resource Type. After that it open the .gif as a binary file, not a graph like the icon. It looks like vc++ do not accept .gif. How can I do next? Thank you for your help. kshen DHunter21 August 23rd, 1999, 11:48 PM Ok... no they do not accept Gifs... not as resources as far as I know... I thought you were putting a bitmap in. There probably is something out there to import Gifs, but if this is a one time thing... ie. This picture will always be apart of your code, then convert it to a bitmap using Paint shop pro or something. Other people may know of some libraries to import Gifs... they exist, I just don't lknow about them. Sorry DHunter21 August 23rd, 1999, 11:51 PM By the way... a bitmap is not a gif... they are totally different. Its like saying a DVD is just a CD. Just to help you clarify that point codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |