How do you change the icon on a custom control. When I say change the icon, I mean change the icon of how it appears in the side bar when you add the new control to your project?
Jimmy
Printable View
How do you change the icon on a custom control. When I say change the icon, I mean change the icon of how it appears in the side bar when you add the new control to your project?
Jimmy
I have to ask . Why ?
Well.. I mean I'm creating controls for myself mostly, but I also have some friends that want to use some of them.. and they just look better if when you add then into your project they aren't the standard windows everyday blah.
I just want to change what they look like.
Jimmy
ok I understand now ,but I'm afraid I'm now help as I don't know how . Sorry .
[]Private[]
I don't know if I understand what you're asking, but I guess it's this. If you want to change the icon of an ActiveX you program so that the final-user (or even you) see the icon you want in the Toolbox, you only need to draw a 16x15 pixels bitmap, and then set the property ToolboxBitmap of your ActiveX property to the bitmap you've design. Hope this was what you asked.
Why does everyone always have to ask why a person want's to do something? Just answer if it's possible to do. Why do you have do know why he want's to do it?
That's my point.. I hate asking for help and someone going.. okay .. why? and then not even know the answer.
Thanks for the answer Mc Brain.. that is exactly what I wanted to know. It was right there in front of me .. I just didn't see it :)
Thanks
Jimmy
Don't worry... it took me a couple of days being aware of that property. I just wanted to do the same and couldn't make. One day reading the properties I found that property and said "Could it be more stupid?"