473,508 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MDI child window Icon size

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
May 7 '07 #1
2 4396
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/subscripti...ult.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/subscripti...t/default.aspx.
==================================================

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

May 8 '07 #2
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
"Linda Liu [MSFT]" <v-****@online.microsoft.comschrieb im Newsbeitrag
news:%2****************@TK2MSFTNGHUB02.phx.gbl...
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/subscripti...ult.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/subscripti...t/default.aspx.
==================================================

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


May 8 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3780
by: Bob | last post by:
I am trying to create a popup page (to act as a menu) from a parent page. When the parent page (index.jsp) calls my popup function (see below) it will properly open the correct size browser window...
3
5601
by: James Spibey | last post by:
Hi, I have an MDI application which has aboout 10 child windows. The way the app needs to work is that only one window should be visible at a time and it should be maximized within the parent...
9
3467
by: Max | last post by:
Hello, Using VB.NET, I can activate an application by entering: AppActivate(intProcessID), where intProcessID is the process ID of a running application. Is it possible to set the size and...
10
3983
by: Charles Law | last post by:
For some reason, when I click the X to close my MDI parent form, the action appears to be re-directed to one of the MDI child forms, and the parent remains open. I am then unable to close the...
4
4370
by: Blaine | last post by:
Does anyone know how I can hide a form from the TaskManager? I've set the ShowInTaskbar to False, but when using Alt-TAB to switch between applications, it appears as a blank icon. I can set it...
1
1067
by: Bharathi kumar | last post by:
Hi, Iam working on VS.NET 2005. My scenario is as follows: I opened a window by clicking a menu item in the MDI form and then I maximized that child window. I have not yet closed this...
3
6313
by: Tom | last post by:
I am having a serious issue with my MDI child windows. This is with a large VB.NET application that I ported over to VS 2005 from VS 2003. The problem is that, if the child window is maximized and...
1
15080
by: Brett Romero | last post by:
I set an MDI child form to Windowstate=maximized at design time. When I new up and show the child form in the MDI parent, the child's title is hidden since it's pushed to far up (below parent tool...
1
2279
by: jerkyjerk | last post by:
Ei guys..newbie in programming..just want to ask how will I compare the contents of particular cell of the table(from parent window) to the contents of a cell of the table (child window)? how will I...
0
7124
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5629
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1558
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.