[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Weirdly resized main form icon

Posted on 2010-04-02
2
Medium Priority
?
470 Views
Last Modified: 2013-12-17
Hi,

I've added an icon to the main form of the app, but visual studio keeps making it look like it's been badly resized (see attachment picture, never had any trouble with this before).
I've tried resizing it manually to multiple sizes (16x16, 24x24, 32x32) but it doesn't help, it still looks that way. What's even weirder is that if I save it as a png and load it in the toolbar it gets resized correctly and looks ok.

Is there a way to make it look/resize correctly? Maybe this an OS problem (still using XP)?
(seems like EE doesn't allow ico files, uploaded the icon in use here: http://www.mediafire.com/?eltxrqnmink )
app.png
0
Comment
Question by:Toster
2 Comments
 

Accepted Solution

by:
IPTN earned 1000 total points
ID: 29477637
The reason that for some reason the resolution of the toolbar icon is correctly scaled from the original icon, but the window icon is not correctly scaling. This hints that the aspect ratio for the window icon is somehow an unusual one. I would suggest looking at what type of window the form is being created as. Is it a tool window, system window, etc. Also see if it is because the theme you have applied is causing the icons for windows to be resized incorrectly. Aka change back to the the default windows theme and see if this solves the problem. Any further information you can provide would be useful including code.
0
 
LVL 5

Author Closing Comment

by:Toster
ID: 31710264
You were right, it was the theme! I can't believe it. It never happened with other icons.. Thanks, would have never thought of this ^^
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Native ability to set a user account password via AD GPO was removed because the passwords can be easily decrypted by any authenticated user in the domain. Microsoft recommends LAPS as a replacement and I have written an article that does something …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…

590 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