Solved

icon changed......

Posted on 1998-10-04
1
168 Views
Last Modified: 2010-04-30
I decided to set a icon for a form.  So I used the "Find" function in Win98 to find out all the .ico files.
There are many .ico files found in my c:\program files\Plus! directory, so I select one of them for the form.
However, after I set the icon, the icon on the form looks quite different from the icon shown in the "Find" box.
The icon seemed to be "down-graded" because although the icon on the form looks similar to the original one, there is a littel shape and color difference.  I'm sure i selected the right .ico file, so can anyone tell me why it happens?  Is there any solution to this problem?
Thanks alot!!
0
Comment
Question by:chuyan
[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
1 Comment
 
LVL 2

Accepted Solution

by:
VBDesigns earned 30 total points
ID: 1438062
When you select an icon into the form, it downsizes it from the original size of the icon to 16x16 (or 18x18 -- can't remember) to fit it into the caption (using whatever underlying stretching methods).  Now, one way you can test this is to load the Icon into the .Picture property of the form (which should place the icon on the background of the form).  The original Icon size is probably 32x32 or 64x64.  As far as I'm aware, there's no way around downsizing the icon in the caption without subclassing the caption drawing code or writing your own caption handling code.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

726 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