Solved

icon changed......

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

708 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

13 Experts available now in Live!

Get 1:1 Help Now