MDI child window Icon size

R

Rainer Queck

Hello NG,

what are the right dimensions for a window icon, used on a mdi child window?

My Problem:
I used a third party Icon-Designer to design some icons for my application.
Those icons look ok on a mdi child as long as it is not maximize.
As soon as I maximize the window, the Icon is placed into the menu bar (I
assum the is normal) but its size is aproximatly 3 times bigger.

Propably I have choosen the wrong icon size.

Thanks for hints and help on this subject.

Regards
Rainer Queck
 
L

Linda Liu [MSFT]

Hi Rainer,

I performed tests on this issue, but didn't reproduce the problem on my
side.

In my test, I create an icon in the VS IDE. The size of the icon is
restricted to 32*32 and I couldn't change it. I set an MDI child form's
Icon property to this icon.

When the application is run, the MDI child form shows the icon in its title
bar. When I maximize the MDI child form, the icon is placed into the menu
bar of the MDI parent(yes, you're right that this behavior is by design)
and the icon remains the same size.

I have searched icon files on my machine and found that all icons are of
size 32*32. I found a icon of size 48*48 on the Internet and test it in my
project. The result is that the 48*48 icon remains unchanged when the MDI
child form is maximized.

So my tests show that no matter what size the MDI child form icon is, the
icon's size remains unchanged when the MDI child form is maximized.

If the problem still exists, you may send me a sample project that could
just reproduce the problem. To get my actual email address, remove 'online'
from my displayed email address.

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
R

Rainer Queck

Hi Linda,

I found out, that if I use differen settings for my Icon - desinger
(smaller) I don't have the problem either.
Anyhow, I prepared a little test project with the "big icon" and mailed it
to you, so that you can see the effect too.

I case my mail does not reach you, please let me know.

Regards
Rainer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top