[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

icon changed......

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
chuyan
Asked:
chuyan
1 Solution
 
VBDesignsCommented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now