S
SpotNet
Hello NewsGroup,
I have a MDIParent form with a docked left treeview control, a splitter
control and a generic docked control on the right. Kind of looks like
Windows Explorer, though it's functionality is quite different. I have a
function where an MDIChild is activated, well attempted to do so. When I
call the MDIChild form, I get the form caption (on the MDIParent) of the
MDIChild and its' control menus but the client area still has the treeview,
splitter and right side control in the MDIParent view area.
With the MDIChild, I've called the Show() , BringToFront() methods, TopMost
= true; with the same result mentioned above. If used the SendToBack()
method on the 3 controls contained in the MDIParent, this shows the MDIChild
when called, but when the MDIChild is closed the treeview, splitter and
other control are invisible left with only the dark MDIParent client area. I
can see the 'long way' solution to this, before I implement it I would like
to ask if there is something I'm (obviously) missing or not doing correctly?
How can I make the MDIChild Form the top most form in this situation,
revealing the MDIParent forms' controls when its' closed. If the solution
lies in the Win32 API (for WinXP SP2) that's OK too.
Using WinXP SP2, VS .NET 2003 C# >NET Framework 1.1.
Thanks for your consideration NewsGroup.
Regards,
SpotNet.
I have a MDIParent form with a docked left treeview control, a splitter
control and a generic docked control on the right. Kind of looks like
Windows Explorer, though it's functionality is quite different. I have a
function where an MDIChild is activated, well attempted to do so. When I
call the MDIChild form, I get the form caption (on the MDIParent) of the
MDIChild and its' control menus but the client area still has the treeview,
splitter and right side control in the MDIParent view area.
With the MDIChild, I've called the Show() , BringToFront() methods, TopMost
= true; with the same result mentioned above. If used the SendToBack()
method on the 3 controls contained in the MDIParent, this shows the MDIChild
when called, but when the MDIChild is closed the treeview, splitter and
other control are invisible left with only the dark MDIParent client area. I
can see the 'long way' solution to this, before I implement it I would like
to ask if there is something I'm (obviously) missing or not doing correctly?
How can I make the MDIChild Form the top most form in this situation,
revealing the MDIParent forms' controls when its' closed. If the solution
lies in the Win32 API (for WinXP SP2) that's OK too.
Using WinXP SP2, VS .NET 2003 C# >NET Framework 1.1.
Thanks for your consideration NewsGroup.
Regards,
SpotNet.