|
-
Jun 6th, 2000, 07:46 PM
#1
Thread Starter
Hyperactive Member
I'm using Axialis cursors 4.5 to create my own icons and now I'm wondering if I save my icons into a DLL, How can I get hold of them in VB?
Like to put an image from the Dll on a toolbarbutton.
Onerrorgoto
Dont be to optimistic, the light at the end of the tunnel might be a train
-
Jun 7th, 2000, 05:22 AM
#2
You can create an Icon Library and add then to the library using your program. I don't know if it offers that feature, but Microangello does.
Another way is to create an ActiveX DLL file and add the icons to a RES file. Then compile the Dll.
-
Jun 7th, 2000, 03:00 PM
#3
Thread Starter
Hyperactive Member
Thank you
Thank you Megatron.
But if I make my ActiveX DLL with icons in a res-file, how do I put one icon from the resfile in the DLL on my toolbarbutton or commandbutton?
Do I use the LoadResPicture() function? if so, how?
I mean, can I use the index from the resfile in the DLL to define which picture I mean?
If I already have a res-file in my project, how do I define that I mean the Dll res-file?
I know that I have many weird Q's but I hope someone will take the time to answer me.
Again, thank you megatron
Onerrorgoto
Dont be to optimistic, the light at the end of the tunnel might be a train
-
Jun 7th, 2000, 09:13 PM
#4
Addicted Member
Hello!
You can create resource-only dll, but you nead Visual C 4.x and load icons from that DLL. If you want to do it that way, I can help you. I've developed class for loading resources (for now just strings, icons and bitmaps) from resource-only dll. Contact me if you want it.
Zvonko
Zvonko Bostjancic
Ilirska Bistrica, Slovenia
[email protected]
Using VS6 Professional with SP3
Programming mostly in VB and I've started to learn VC++ & MFC
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
|