[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Graphic has shadows in imagelist if set to custom size

Posted on 2003-11-10
5
Medium Priority
?
201 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
4 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 500 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…
Suggested Courses

831 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