473,394 Members | 1,714 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 always on top in its container

Hi,
another question for you.
I looked around but found nothing.
I have a MDI container calld frmMDIMain, that contain some child
form....one of that forms is called frmPostIt and I need that form
stay always on top of all other child contained in MDI.

is possinble to do this?

Many thanks in advance
Jun 27 '08 #1
7 2756
Marcolino <ma************@gmail.com>'s wild thoughts were
released on Tue, 27 May 2008 16:03:05 -0700 (PDT) bearing
the following fruit:
>Hi,
another question for you.
I looked around but found nothing.
I have a MDI container calld frmMDIMain, that contain some child
form....one of that forms is called frmPostIt and I need that form
stay always on top of all other child contained in MDI.
Then it arguably should not be an MDI child. Does it need to
be? If so why?

--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
Jun 27 '08 #2
On 28 Mag, 16:41, "Jan Hyde (VB MVP)"
<StellaDrin...@REMOVE.ME.uboot.comwrote:
Marcolino <marco.pozzu...@gmail.com>'s wild thoughts were
released on Tue, 27 May 2008 16:03:05 -0700 (PDT) bearing
the following fruit:
Hi,
another question for you.
I looked around but found nothing.
I have a MDI container calld frmMDIMain, that contain some child
form....one of that forms is called frmPostIt and I need that form
stay always on top of all other child contained in MDI.

Then it arguably should not be an MDI child. Does it need to
be? If so why?

--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
Hi Jan,
Is a deskto application for end user. In this MDI application there
was a lot of child form for normal operation. But I need to put also
another child form with realtime statistics of the daily work and my
customer want that this child stay always on top inside the MDI
container, not over all windows desktop.
I hope this is more clear.

Thanks
Jun 27 '08 #3
On 28 Mag, 16:41, "Jan Hyde (VB MVP)"
<StellaDrin...@REMOVE.ME.uboot.comwrote:
Marcolino <marco.pozzu...@gmail.com>'s wild thoughts were
released on Tue, 27 May 2008 16:03:05 -0700 (PDT) bearing
the following fruit:
Hi,
another question for you.
I looked around but found nothing.
I have a MDI container calld frmMDIMain, that contain some child
form....one of that forms is called frmPostIt and I need that form
stay always on top of all other child contained in MDI.

Then it arguably should not be an MDI child. Does it need to
be? If so why?

--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
Hi Jan,
Is a deskto application for end user. In this MDI application there
was a lot of child form for normal operation. But I need to put also
another child form with realtime statistics of the daily work and my
customer want that this child stay always on top inside the MDI
container, not over all windows desktop.
I hope this is more clear.

Thanks
Jun 27 '08 #4
"Marcolino" <ma************@gmail.comschrieb
Hi Jan,
Is a deskto application for end user. In this MDI application there
was a lot of child form for normal operation. But I need to put also
another child form with realtime statistics of the daily work and my
customer want that this child stay always on top inside the MDI
container, not over all windows desktop.
I hope this is more clear.
This behavior is AFAIK not supported. However, you can set the MDI
container as the owner of the statistics Form without the latter being
an MDI child. Doesn't stay inside the MDI container anymore but is
always on top and is also minimized whenever the container is minimized.
Maybe this is an option.
Armin

Jun 27 '08 #5
On 28 Mag, 18:37, "Armin Zingler" <az.nos...@freenet.dewrote:
"Marcolino" <marco.pozzu...@gmail.comschrieb
Hi Jan,
Is a deskto application for end user. In this MDI application there
was a lot of child form for normal operation. But I need to put also
another child form with realtime statistics of the daily work and my
customer want that this child stay always on top inside the MDI
container, not over all windows desktop.
I hope this is more clear.

This behavior is AFAIK not supported. However, you can set the MDI
container as the owner of the statistics Form without the latter being
an MDI child. Doesn't stay inside the MDI container anymore but is
always on top and is also minimized whenever the container is minimized.
Maybe this is an option.

Armin
Hi Armin,
what do tou mean for
"set the MDI
container as the owner of the statistics Form without the latter
being
an MDI child"

how can i implement it?

Thanks
Jun 27 '08 #6
"Marcolino" <ma************@gmail.comschrieb
Hi Armin,
what do tou mean for
"set the MDI
container as the owner of the statistics Form without the latter
being
an MDI child"

how can i implement it?
Inside the MDI container:

Dim f As New StatisticForm
f.Show(Me)
In addition, but not required, you may set StatisticForm's
Formboderstyle to FixedToolwindow or SizableToolwindow.
Armin

Jun 27 '08 #7
On 29 Mag, 00:26, "Armin Zingler" <az.nos...@freenet.dewrote:
"Marcolino" <marco.pozzu...@gmail.comschrieb
Hi Armin,
what do tou mean for
"set the MDI
container as the owner of the statistics Form without the latter
being
an MDI child"
how can i implement it?

Inside the MDI container:

* * * Dim f As New StatisticForm
* * * f.Show(Me)

In addition, but not required, you may set StatisticForm's
Formboderstyle to FixedToolwindow or SizableToolwindow.

Armin
Hi Armin,
this is exacly what i need.

Thanks
Jun 27 '08 #8

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

Similar topics

3
by: Francois Soucy | last post by:
Hi all, I've a MDI app. I need to send data from one MDI child to another MDI child. How Does the hell this can be do??? The receving mdi child is not always active... Francois
0
by: Henry Wu | last post by:
Hi, I am aware that TransparencyKey only works with top-level forms or Non-MDI Child Forms, if one tries to set the opacity or transparencykey property to a MDI-Child form, it will have no effect....
0
by: Bruin | last post by:
Hi All, I'm having a problem with MDI child forms when the reference to the MDI Parent is set in a Control library. (Sorry for the long post) I have an control library assembly which holds all...
4
by: Tom | last post by:
I want to be able to 'make' a MDI Child Window appear at the same place in my MDI container. For example, maybe I want this Child window to always appear at Top=0 and Left=0; or, when the user...
3
by: Zack Sessions | last post by:
I am using VB.NET 2003. I have read the threads concerning the problem where the FormStartPosition of CenterParent is ignored if the form is displayed with the Show method as opposed to the...
0
by: Innova | last post by:
Hi, We are working on a gridview inside the gridview (parent-child) scenario. The data of child grid will depend on the data of parent. Objectives: 1.Add new row in parent grid after each row...
1
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
by: Teo | last post by:
Hi!! I created a form that I already set as IsMdiContainer to True. How can I tell each new form I create to work under the container form without having to declare the aboutfsm.MdiParent = Me...
3
by: Marcolino | last post by:
Hi all, I have an MDI container and some child. I need to retrive Form Object from its handle, but it seems that for MDI child the following code i'm using is not working and will return me...
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?
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
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
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.