Important alert: (current site time 7/16/2013 2:24:28 AM EDT)
 

winzip icon

LaVolpe ImageList

Email
Submitted on: 9/21/2007 11:17:38 AM
By: LaVolpe 
Level: Advanced
User Rating: By 16 Users
Compatibility: VB 6.0
Views: 15912
author picture
(About the author)
 
     Another project using my c32bppDIB classes. This is a custom image list that supports alpha images and has one neat property that haven't seen before. This custom image list control can be made part of your custom usercontrol so you don't have to ship 2 different controls. Two sample projects are included in zip, so unzip with "Use Folders" checked. Some highlights: supports alpha images, mulitple image sizes, allows scaling when adding to imagelists, and many more. I am planning on using this for multiple custom controls in the near future. Still have some things that I want this to do or be compatible with. I am not completely done with this project but offer it to you for your suggestions and comments.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 72 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

9/21/2007 5:20:36 PMLaVolpe

Plz leave comments. Will be playing more this weekend. Want to add better error handling routines, firm up some other things, remove c32bpp class routines not used in this project, etc.
(If this comment was disrespectful, please report it.)

 
9/22/2007 8:03:55 AMMark

Excellent submission! - Thanks for sharing this.
(If this comment was disrespectful, please report it.)

 
9/22/2007 9:02:34 AMLaVolpe

This project is now officially under construction. I will radically modify it to for the following reasons:
1. I don't want to restrict its usage to GDI+ or zLib
2. I want to tweak it so you can use the imagelist just for your UC, but not for customer use
3. I want to add an imagelist control only version, so that any VB routine can use/call it.
When I have redesigned it to meet my requiremnets I will repost the update. This may take a week or two, so feel free to post bug reports here and I will include fixes in the upcoming post, but may not update this version until the next version is ready.
(If this comment was disrespectful, please report it.)

 
9/22/2007 3:37:06 PMIgnite Software

Excellent use of property pages. Great work.
(If this comment was disrespectful, please report it.)

 
9/24/2007 7:33:03 AM_Merlin_

Keith, you keep amazing me. I will surely keep my eye on this one.

Merlin is the name, and logic is my game...
(If this comment was disrespectful, please report it.)

 
9/24/2007 12:28:36 PMjames kahl

looks like another winner to me. keep it up.
(If this comment was disrespectful, please report it.)

 
9/24/2007 8:13:22 PMLaVolpe

Thanx for the comments folks.
A couple bugs you want to look for. Don't add/update image with a duplicate key; error routine is incorrect & needs fixing. Avoid removing images from the end of the imagelist right now. There is a logic bug that can cause a crash. You good coders can patch that easy enough, hint. Replace bad logic line with:
If Index < m_ItemCount Then ' shift

Upcoming enhancements: 1) Export imagelists to file so they can be imported to another project's imagelist. 2) Removed zLIB/GDI+ requirement. 3) Added propertypage code to recognize/handle when multiple imagelists are selected at once. 4) Corrected several minor logic errors.
(If this comment was disrespectful, please report it.)

 
9/30/2007 7:32:48 AMcaver dave

5/5 another great piece of work
(If this comment was disrespectful, please report it.)

 
10/13/2007 12:07:35 PMhsanguino

Like always 5 from me!
(If this comment was disrespectful, please report it.)

 
12/4/2007 6:10:31 AMAyn

Excellent!!!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.