|
-
Jun 6th, 2000, 01:05 AM
#1
Thread Starter
New Member
Does Anyone Know How To save a Bitmap as a Icon (*.ICO) File?
Thanks,
Slammer_1987@Engineer
-
Jun 6th, 2000, 03:08 AM
#2
Here's a small trick you can use
- Make a Form with 2 PictureBox's
- Load a BMP file in Picture1
- Load Picture1 into an ImageList
- Use the ExtractIcon method to set the MouseIcon of a hidden Control to our BMP (Which is now in the ImageList)
- Load the hidden Control's cursor into Picture2
- Use the SavePicture method and save it as an Icon.
This is a little sneaky way of doing it but it works well.
-
Jun 6th, 2000, 03:11 AM
#3
Member
you know what would be nicer, if you just made that program and posted a link
-
Jun 6th, 2000, 03:28 AM
#4
transcendental analytic
No, Meg did just add those bullets and everything, i think he have pictured and explained everything very well
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 6th, 2000, 03:43 AM
#5
Thanks, Kedaman.
As for you, CtrlAltDel, What part of that don't you get?
-
Jun 6th, 2000, 03:47 AM
#6
Member
o, i get it, dont worry...just thinkin of an app for you to make, a quick little .ico maker
-
Jun 6th, 2000, 03:57 AM
#7
Well, actually I have made it. I have stumbled apon this last year sometime and created it then.
-
Jun 6th, 2000, 06:01 AM
#8
New Member
Hey Megatron
Where do I get the ImageList object?
PiKaPrO
=======
PiKa ProGraMMeR © 2000
[email protected] No SPAMMERS!
MSVB6.0 PRO SP3 Detected.
-
Jun 6th, 2000, 06:36 AM
#9
transcendental analytic
It's in that huge comctl32 ocx, you can add it by pressing Ctrl+T and select Microsoft Common Control 5.0 or 6.0
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 6th, 2000, 07:03 AM
#10
The icon is usually under the Progress Bar and it look like 3 white boxes stacked on top of each other.
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
|