Making a child topmost to its siblings only
Paul E. Rosen -- prosen@fte.com
Monday, January 20, 1997
Environment: NT 4.0 VC 4.2b
My app contains a number of popup children. I'd like one particular child to
always be on top of its siblings. If I set the always on top flag, the child
becomes always on top of *everything*, including other apps. I'd like the
popup to act more like the dockable children in MSVC environment. For instance
, if you drag the output window off of the frame so that it is floating, and
place it over the MDI children that contain code, it is always over those
children. However, if you switch to another application, the other application
can hide the output window.
How can I do that?
Paul E. Rosen -- prosen@fte.com
Monday, January 20, 1997
Environment: NT 4.0 VC 4.2b
My app contains a number of popup children. I'd like one particular child to
always be on top of its siblings. If I set the always on top flag, the child
becomes always on top of *everything*, including other apps. I'd like the
popup to act more like the dockable children in MSVC environment. For instance
, if you drag the output window off of the frame so that it is floating, and
place it over the MDI children that contain code, it is always over those
children. However, if you switch to another application, the other application
can hide the output window.
How can I do that?
Bruce DeGraaf -- bdegraaf@datx.com
Wednesday, January 22, 1997
[Mini-digest: 3 responses]
As is often the case, this is not exactly what you requested but may
prove useful.
How about using the CDialogBar and placing the child's UI elements in
that? Unless I've gone completely daft, I remember that the CDialogBar is
dockable, as you desire, and can be made to be on top of other windows in
the application. ...hope this helps.
I mis-posted this (I'd like to think it was MS-Outlook '97, but, frankly,
I'm not sure). Sorry.
>
> -----Original Message-----
>From: owner-mfc-l [SMTP:owner-mfc-l@majordomo.netcom.com]
>Sent: Monday, January 20, 1997 8:02 PM
>To: 'MFClist'
>Subject: Making a child topmost to its siblings only
>
>Environment: NT 4.0 VC 4.2b
>
>My app contains a number of popup children. I'd like one particular
child
>to
>always be on top of its siblings. If I set the always on top flag, the
>child
>becomes always on top of *everything*, including other apps. I'd like
the
>popup to act more like the dockable children in MSVC environment. For
>instance
>, if you drag the output window off of the frame so that it is floating,
>and
>place it over the MDI children that contain code, it is always over
those
>children. However, if you switch to another application, the other
>application
>can hide the output window.
>
>How can I do that?
-----From: mfc-l@netcom.com
>From mfc-l Mon Jan 20 20:02:00 1997 remote from netcom.com
Received: from netcom.com by tc4d1.cmc.stph.net; Thu, 23 Jan 1997 14:31 EST
Received: by majordomo.netcom.com (8.7.5/8.7.3/(NETCOM MLS v1.01)) id IAA23647; Wed, 22 Jan 1997 08:20:10 -0800 (PST)
From: PRosen
Date: Mon, 20 Jan 1997 20:02:00
Subject: Making a child topmost to its siblings only
X-Mailer: Internet Series for Microsoft Mail ( V2.0.1G )
Mime-Version: 1.0
To: "'MFClist'"
Message-ID: <19970121010944.AAA14209@Dialin49.cstone.net>
Sender: owner-mfc-l@majordomo.netcom.com
Errors-To: owner-mfc-l@majordomo.netcom.com
Precedence: bulk
Reply-To: mfc-l@netcom.com
Content-Type: text
Content-Length: 618
Environment: NT 4.0 VC 4.2b
My app contains a number of popup children. I'd like one particular child to
always be on top of its siblings. If I set the always on top flag, the child
becomes always on top of *everything*, including other apps. I'd like the
popup to act more like the dockable children in MSVC environment. For instance
, if you drag the output window off of the frame so that it is floating, and
place it over the MDI children that contain code, it is always over those
children. However, if you switch to another application, the other application
can hide the output window.
How can I do that?
-----From: mfc-l@netcom.com
>From mfc-l Mon Jan 20 20:02:00 1997 remote from netcom.com
Received: from netcom.com by tc4d1.cmc.stph.net; Thu, 23 Jan 1997 14:33 EST
Received: by majordomo.netcom.com (8.7.5/8.7.3/(NETCOM MLS v1.01)) id IAA23647; Wed, 22 Jan 1997 08:20:10 -0800 (PST)
From: PRosen
Date: Mon, 20 Jan 1997 20:02:00
Subject: Making a child topmost to its siblings only
X-Mailer: Internet Series for Microsoft Mail ( V2.0.1G )
Mime-Version: 1.0
To: "'MFClist'"
Message-ID: <19970121010944.AAA14209@Dialin49.cstone.net>
Sender: owner-mfc-l@majordomo.netcom.com
Errors-To: owner-mfc-l@majordomo.netcom.com
Precedence: bulk
Reply-To: mfc-l@netcom.com
Content-Type: text
Content-Length: 618
Environment: NT 4.0 VC 4.2b
My app contains a number of popup children. I'd like one particular child to
always be on top of its siblings. If I set the always on top flag, the child
becomes always on top of *everything*, including other apps. I'd like the
popup to act more like the dockable children in MSVC environment. For instance
, if you drag the output window off of the frame so that it is floating, and
place it over the MDI children that contain code, it is always over those
children. However, if you switch to another application, the other application
can hide the output window.
How can I do that?
| Вернуться в корень Архива
|