Solved

Graphic has shadows in imagelist if set to custom size

Posted on 2003-11-10
5
195 Views
Last Modified: 2010-05-01
Hi!

I'm developing a IE Toolbar and I try to add some icons to it. Everything works fine if the graphic is 16x16 px, but if I set the Imagelist to custom format (80 width x 16 height) then a 1 px black 'shadow' is displayed under my graphic. I use grey as MaskColor.
Any idea where this shadow comes from?
0
Comment
Question by:eisenlauer
  • 3
5 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9717937
1) Did you set custom property and size of imagelist before add any graphic?
2) Are you sure that images are exactly 80x16px?
3) could you check it with a graphic program?
4) did you try setting , in example, 79x15px and see what happens?
0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 250 total points
ID: 9717953
5) Are you that maskcolor match with image EXACTLY?
0
 

Author Comment

by:eisenlauer
ID: 9718042
1) yes
2) yes
3) Photoshop says: 80x16
4) this shrinks the pic by 1 px. nothing more.

I created a small sample that displays it a little bit more in detail:
http://www.krasserchecker.de/sample.jpg
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 10252167
Please, don't accept any question that not meet your requirements, even with C grade. It would be better if you ask for delete it or refund points.
C grade is no good for you, no good for me.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question