473,385 Members | 1,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Transparancy in icons used?

pnp
Hi all,
I'm developing a win app in C# and I am drawing by myself the icons that
I'm going to use in Corel Draw 11, then turn them to icons by using Axialis
and then use them from an imagelist in my app for icons. I use
Color.Transparent (imagelist transparent color) for the transparrent areas
of the icon.

The problem is that I get little white dots that don't belong to the picture
of my icon (garbage) at the edges and especially if the edges of the icon
fade to transparent.

Another problem is that after creating an icon with another IconEditor
(PaintExpress) I create again icons that fade to transparent and when I see
them from the file system or even the desktop they seem to be very good and
fading wery smoothly. But when I use them in my app the parts that fade to
transparent are shown black! I again use Color.Transparent for the
transparancy of the imagelist...

What can I do?

Thanks in advance,
Peter.
Nov 16 '05 #1
1 1783
Hi,

the controls in comctl32.dll can't handle alphablended icons (the
transparent bit). you have a couple options, use a manifest for your
application (which replaces at runtime the common controls dll), or
draw the icon manually i.e. graphics.DrawIcon(...)

Cheers Tim Jarvis.
very good and fading wery smoothly. But when I use them in my app the
parts that fade to transparent are shown black! I again use
Color.Transparent for the transparancy of the imagelist...

What can I do?

Thanks in advance,
Peter.


Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dan glenn | last post by:
(PHP4.3.4, GD2) How can I save a PNG using GD2 and insure that it saves as a palette-based (8-bit, 256-color) single-color transparancy?? Saving this way, I could be sure that an image loaded from...
4
by: Keon | last post by:
Hoi Do someone know how i can make the background of a iframe transparancy? I already tried it with filter: Alpha(Opacity=50,); but it also make the text transperancy. do someone know how to...
3
by: Quan Nguyen | last post by:
I'm trying to look for the icons/images (New/Open/Save, Copy/Cut/Paste...) typically used in toolbars in Windows applications, such as MS Word. I'd appreciate if anyone can point me to a webpage...
3
by: SlasherStanley | last post by:
I have wrote a c# app and included the default app.ico file and then compliled it. When I create a shortcut to the application on the destop, I would like the option of selecting from a choice...
6
by: VJ | last post by:
Are icons ( other than company logo icons or product icons) , like the ones used on toolbars of various applications copyrighted? VJ
3
by: Pucca | last post by:
HI, I'm using vs2005. There are very few icons I found in the folder of vs2005imagelibrary under the install folder of vs2005. Does anyone know where I can download icons that are typically used...
1
by: Jon Slaughter | last post by:
I'm trying to create a windows explorer like app and the problem I'm having is getting the proper icon for the folders and items. In windows explorer there are many different icons and most seem...
6
by: Ronald S. Cook | last post by:
We're creating an Outlook-style Windows app that will have icons in it. I was just wondering if there was a Microsoft product that I could use to create icons. I'm not a graphics person but I...
0
by: twoSeven | last post by:
hi, Here is what i want to do. I am making a file and folder browser similar to Windows Explorer with a treeview and listview.. In that, i get icons and thumbnails of a particular file/folder from...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.