473,396 Members | 1,775 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,396 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 2379

"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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
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
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
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,...

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.