Making forms appear separate in app
Author |
Message |
Keith R. McFarla #1 / 8
|
Making forms appear separate in app
I have an app which displays multiple, unrelated forms, and I would like the forms to act like independent windows (i.e., when the user clicks one, the others don't also pop up to the front). Is there any way to do this, via API or some other technique? Keith McFarlane AT&T Bell Labs
|
Fri, 04 Jul 1997 21:44:20 GMT |
|
|
Chuck Stua #2 / 8
|
Making forms appear separate in app
Quote: >I have an app which displays multiple, unrelated forms, and I would like the >forms to act like >independent windows (i.e., when the user clicks one, the others don't also pop >up to the front). >Is there any way to do this, via API or some other technique?
Hi Keith Search on MDI ------------------------------------------------------------------------ Chuck Stuart Mesquite TX USA Contract Programmer. Author of VBTrace, runtime VB Trace/Profile/XRef utility. ------------------------------------------------------------------------
|
Sat, 05 Jul 1997 00:01:22 GMT |
|
|
Keith R. McFarla #3 / 8
|
Making forms appear separate in app
Quote:
>>I have an app which displays multiple, unrelated forms, and I would like the >>forms to act like >>independent windows (i.e., when the user clicks one, the others don't also pop >>up to the front). >>Is there any way to do this, via API or some other technique? >Hi Keith >Search on MDI >------------------------------------------------------------------------ >Chuck Stuart >Mesquite TX USA >Contract Programmer. >Author of VBTrace, runtime VB Trace/Profile/XRef utility. >------------------------------------------------------------------------
Chuck - Thx for the response. However, I don't think that this problem can be solved using the MDI framework, as I'm looking to generate the appearance of multiple, independent, overlapped windows, not multiple MDI children. The first message I posted was probably not clear enough. I need to make the forms within a single VB app appear as if they are totally different *applications*. As such, they must act in an independent fashion when clicked (i.e., if two forms are partially covered by the Program Manager and one of the forms is clicked, only the clicked form appears above the Program Manager). Keith McFarlane AT&T Bell Labs
|
Sat, 05 Jul 1997 21:28:59 GMT |
|
|
Chuck Stua #4 / 8
|
Making forms appear separate in app
Quote: >Thx for the response. However, I don't think that this problem can be solved >using the MDI framework, as I'm looking to generate the appearance of >multiple, independent, overlapped windows, not multiple MDI children. >The first message I posted was probably not clear enough. I need to make >the forms within a single VB app appear as if they are totally different >*applications*. As such, they must act in an independent fashion when >clicked (i.e., if two forms are partially covered by the Program >Manager and one of the forms is clicked, only the clicked form appears >above the Program Manager).
Hi Keith Thats the MDI child forms work. ------------------------------------------------------------------------ Chuck Stuart Mesquite TX USA Contract Programmer. Author of VBTrace, runtime VB Trace/Profile/XRef utility. ------------------------------------------------------------------------
|
Sat, 05 Jul 1997 19:25:54 GMT |
|
|
Keith R. McFarla #5 / 8
|
Making forms appear separate in app
Quote:
>Hi Keith >Thats the MDI child forms work. >------------------------------------------------------------------------ >Chuck Stuart >Mesquite TX USA >Contract Programmer. >Author of VBTrace, runtime VB Trace/Profile/XRef utility. >------------------------------------------------------------------------
Chuck - I know MDI children work this way within and MDI parent, but I can't use an MDI parent. I need the forms to act independently with respect to Windows, not with respect to an MDI frame. Setting the MDIChild property to True without having an MDI Frame in your project will produce a runtime error. Is there something I'm missing? - Keith
|
Sun, 06 Jul 1997 09:14:31 GMT |
|
|
Andre Hall #6 / 8
|
Making forms appear separate in app
Quote: >>>I have an app which displays multiple, unrelated forms, and I would like the >>>forms to act like >>>independent windows (i.e., when the user clicks one, the others don't also pop >>>up to the front). >>>Is there any way to do this, via API or some other technique? > Thx for the response. However, I don't think that this problem can be solved > using the MDI framework, as I'm looking to generate the appearance of > multiple, independent, overlapped windows, not multiple MDI children. > The first message I posted was probably not clear enough. I need to make > the forms within a single VB app appear as if they are totally different > *applications*. As such, they must act in an independent fashion when > clicked (i.e., if two forms are partially covered by the Program > Manager and one of the forms is clicked, only the clicked form appears > above the Program Manager). > Keith McFarlane > AT&T Bell Labs
What if you made separate applications, then shell to them all with one "master" program? Just a thought... -- Andre Hallam
|
Sun, 06 Jul 1997 10:12:14 GMT |
|
|
Shibu #7 / 8
|
Making forms appear separate in app
Quote:
>>>>I have an app which displays multiple, unrelated forms, and I would like the >>>>forms to act like >>>>independent windows (i.e., when the user clicks one, the others don't also pop >>>>up to the front). >>>>Is there any way to do this, via API or some other technique?
Cresent Software in their QuickPak product has a VBX called "CSFORM" which allows you to set the Zorder not only for windows in a particular application, but also in refereence to other applications. So you could make a particualr window the one in front of all others, or the one in back of all others, or in the same application one the frontmost and the other one the bottommost. You can probably accomplish the same thing with some API calls. I'm not sure of your exact requirements, but it seem with a little programing the the activate event you could probably accomplish what you want. Joe
|
Sun, 06 Jul 1997 15:15:40 GMT |
|
|
Krimb #8 / 8
|
Making forms appear separate in app
How about SetParent. I've never tried it, but set the forms to have the desktop (GetDesktopWindow or something like that) as their parent. Let me know if it works ;)
|
Sun, 20 Jul 1997 10:31:19 GMT |
|
|
|