Solved

icon changed......

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
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…

929 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now