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
Solved

icon changed......

Posted on 1998-10-04
1
167 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
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

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 …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

829 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