|
-
Dec 4th, 2001, 11:26 PM
#1
Thread Starter
Junior Member
Help: ICON DO IT!
In my quest to decrease code size, I am looking at the toolbar/menu controls offered by vbAccelerator.
Only used to using an Imagelist control and standard toolbar control that comes with vb5, I'm now required to venture out of my comfort zone into the unknown.
The toolbar code from vbAccelerator requires that I assign a file, picture or resource to the .ImageFile = line, i.e.
With cToolbar1
.Imagefile = 256_1.bmp
...
Now, I can see that this .bmp file is a picture strip with 20 or so icons layed out in a nice clean row. My question is...
HOW DO I MAKE ONE OF THESE FOR MY OWN ICONS TO USE IN MY PROGRAM!?!
I've search the internet high and low, but this must be so basic that nobody cares to discuss it. Like discussing whether water is wet, etc.
I have about 12 icons currently in my Imagelist control. But if I'm going to get rid of that control to cut down program size, my understanding is to create a resource file or one of these neat bitmap files and just assign it directly to my new toolbar control.
Could someone please help me by letting me know how to create these icon strip files correctly, so when I reference them in my program with indexes 0 to 11 that the correct icon is selected?
Appreciate in advance.
Postin means I'm desperate!
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
|