473,662 Members | 2,575 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 4403
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.mic rosoft.comschri eb im Newsbeitrag
news:%2******** ********@TK2MSF TNGHUB02.phx.gb l...
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
3792
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 only if the browser that index.jsp is opened in is NOT maximized. If index.jsp is maximized and then I click on the test link that fires off the openMain function, the browser that is opened for the popup is also maximized. function...
3
5610
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 window. I have set all my child windows to be WindowState.Maximized but after showing 2 or 3 windows, the windows all drop back to Normal state. I have tried various things to overcome this inclusing overriding OnResize etc but none seem to give...
9
3477
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 location of the application window?
10
4008
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 application. What should happen, is that the main MDI form should close, taking the child forms with it. There is code to loop through the child forms, remove the controls on each of them, and then close the form, but this code should execute only...
4
4385
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 as a SizableToolWindow, but then I no longer have the minimize button on the caption. Is there a way to mimic a (FormBorder) sizable tool window (so it doesn't appear in the tasklist) and still show the Min, Max and Close control buttons? (Or...
1
1079
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 child window.
3
6323
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 then closed, it produces the following error message: Cannot access a disposed object Object name:'icon' in source System.Drawing And then the whole system crashes. Again, this ONLY occurs if the MDI child window is maximized within the MDI...
1
15120
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 bar). On the MDI parent, the resize icon is displayed in the top right. That means the child is maximized right? What doesn't it fill the parent container area? When I click the resize icon, the child then jumps to the parent center and...
1
2292
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 use ID for this? I need to compare because If the two contents are the same, no need to add the table (from the child window) to the table on the parent window.. this is my code Child window note: cell3 contents will be the basis of...
0
8432
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8764
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8546
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6186
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5654
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
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 we have to send another system
2
1752
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.