473,396 Members | 1,998 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,396 software developers and data experts.

Two basic Icon() questions.

Hello,

I have some basic questions regarding Icons.

The ms-help page for System.Drawing.Icon

ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref8/html/T_System_Drawing_Icon_Members.htm

says that "Icons can be thought of as transparent bitmaps, although their
size is determined by the system."

1) Can you please remind me why it is good that icons have transparent
regions? When is that feature useful?

2) How does the system determine their size? Does the system limit the icon
size to 64x64 pixels, 32x32, or some such sensible icon size?
Thanks for ty
--
Allan Michaels
Ann Arbor, MI
Mar 9 '07 #1
2 1286
Hi Allan,

When a bitmap has transparent background, means when it's drawed over
another object, you will still see the object behind the icon through the
background instead of seeing a square block. You should be using this
feature everyday: most window will have an icon in its title bar, and the
icon is normally drawn using transparent background. Also, icons are
usually used by a treeview or listview that you will see in explorer
window. Icons' background are transparent so that you could see the
background color of the explorer window.

The icon size is not limited to 64x64; for example, Vista has support for
256x256 size: http://msdn2.microsoft.com/en-us/library/aa511280.aspx

Hope this helps.

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Mar 12 '07 #2
Thank you for the reminders on Icon backgrounds.
And thanks for the link to the Vista Icon guidelines.

Mar 14 '07 #3

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

Similar topics

3
by: Player | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello I am teaching myself python, and I have gotten a long way, it's quite a decent language and the syntax is great :) However I am having a...
1
by: Robert Oschler | last post by:
I have a 16 color 16 x 16 pixel icon (favicon.ico); 4-bit palette. I have put the icon in the root directory of my web site, and I have also added the <link rel="SHORTCUT ICON" ... /> HTML tag in...
8
by: Adrian | last post by:
How do I put an icon on a form using code? Thank you.
2
by: Brian | last post by:
Dear my friends, I have been helped by many C# gurus here, thank you very much. My small application can help you fetch some good pictures from Internet. You can get it from...
5
by: Fei Li | last post by:
3
by: Benny Raymond | last post by:
I've written a class that inherits from MenuItem which displays icons next to the items in a menu... The only problem I'm having is that I have no clue how to turn these icons greyscale if they're...
4
by: MRD | last post by:
Hi All, I found a useful bit of code on msdn in VC but need it in VB. I've started the conversion but can't quite finish. The code puts a custom Icon on a toolbar (In my case the Word Add-in...
2
by: furby | last post by:
I am teaching myself Python... I'm nowhere near even intermediate level yet, so treat me like an idiot. I am using Boa Constructor on Ubuntu 8.04 if that helps. Here is what I have right now : I...
1
by: sfirouz | last post by:
Hi: I am new to .net stuff and to make the matter worst, I am converting from Borland to Microsoft world. So I am having real hard time figuring things out in VC++ .net. (I am using VS 2008) ...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.