473,394 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

MDI child activation behavior

KRH
I posted this over in dotnet.framework.forms, but this is probably a better forum for it
Question: Why doesn't clicking anywhere on a child form (not just the title bar) in a MDI application activate the child in C#, as in VB.NET and almost any other Windows environment. Was this by design? I sure hope you don't need to call the form's Activate() event from the click event of the form and all of its controls, or is there another property of the form or parent to control this

This and a few other workarounds makes me wonder if C# is not the recommended Windows (form) application dev environment

Thanks
KRH
Nov 16 '05 #1
3 2378

"KRH" <an*******@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com...
Question: Why doesn't clicking anywhere on a child form (not just the

title bar) in a MDI application activate the child in C#,

It does activate the Child forms in my C# MDI app --- VStudio 2003 pro. on
XP.
Nov 16 '05 #2
KRH
Thanks Martin. I am using VStudio Ent. 2003. I wonder what's the difference. Maybe just a setting
KRH
Nov 16 '05 #3

"KRH" <an*******@discussions.microsoft.com> wrote in message
news:74**********************************@microsof t.com...
Thanks Martin. I am using VStudio Ent. 2003. I wonder what's the difference. Maybe just a setting. KRH


Have you tried it with a blank mdichild, it possibly could be a docked
component on the child form.
The mousewheel when clicked doesn't activate my mdichild although it still
works, I have to activate it through code. The normal mouse buttons are ok
though.
Nov 16 '05 #4

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

Similar topics

2
by: R. Rajesh Jeba Anbiah | last post by:
I'm supposed to do the account activation via email. I mean *not* sending the activation link like http://foo.com/foo.php?actcode=foo. But, I would like it to be like...
1
by: JaNE | last post by:
Hello, I have made my cms... and is working, but have some, let me say "bugs"... And I don't know all reasons, please allow me slightly longer and most probably confusing post (that "confusing" is...
4
by: Steve Peterson | last post by:
Hello Just a quick question.. I have a MDI app that allows the user to open several child forms.. Nothing special. However, what I would like to know is how to prevent a user for opening the...
3
by: KRH | last post by:
I posted this over in dotnet.framework.forms, but this is probably a better forum for it Question: Why doesn't clicking anywhere on a child form (not just the title bar) in a MDI application...
10
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...
2
by: Peted | last post by:
Hi Im using c# express edition 2005 I have an MDI form, where i load multiple child forms from a dll i create, using reflection and late binding The child forms have multiple radio...
6
by: Doc John | last post by:
Assuming I have several child Forms open (not maximized) in my MDI Form, when I maximize any of them and then close it, all my other Forms automatically maximize. How come? Is there an easy...
4
by: Jassim Rahma | last post by:
how can I maximize the MDI child in the free MDI parent area not in the whole window.. I mean in the (whole window area - menubar - tool bar) so i want the MDi child to show its whole window and...
7
by: GTalbot | last post by:
Hello fellow authoring.stylesheets colleagues, Can someone please explain why the bottom margin of the last inflow block-level child in an overflowed parent should not have its margin reachable....
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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
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...
0
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...

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.