Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Graphic has shadows in imagelist if set to custom size

Posted on 2003-11-10
5
Medium Priority
?
200 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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

636 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