473,883 Members | 1,686 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to make MODAL MDIChild

My App is an MDI Parent with MDI Child forms.

One of the child forms calls a modal dialog form.

I would like the modal dialog form to be INSIDE the mdi parent window.

I am not bothered about any of the other things associated with MDI
Parent/Child relationships, this is purely an appearance issue.

MDIParent property and ShowDialog seem to be mutually exclusive.

Surely some bright sparks knows how this is achieved.
--
Chris Petchey
Nov 21 '05
10 11711
Chris / Dan

Why not approach the problem from a different angle? Open a normal
(forget mdi) form as a modal dialog, and set its top and left position
at runtime relative to the mdi parent form? You get to keep all the
built in modal and dialog features, and it's not that much effort to
acheive your visual requirement.

Nicolas
*** Sent via Developersdex http://www.developersdex.com ***
Nov 21 '05 #11

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

Similar topics

1
12542
by: amith | last post by:
Hi, I have a javascript, calendar.js which i use to enable my client to select the date. This calendar pops up on the click of a gif image. But the problem is that this poped up window is not modal in nature(i do not want the user to go the parent page unless he selects some date in the calendar popup). In the javascript calendar.js he has used window.open() function to pop up the window. i just want to know whether we have any...
0
1437
by: Supra | last post by:
i got mdichild working. i'm working on similar to mirc chat. when i joined channel #vb the first mdichild is on. then when i wanted to join another channel #visualbasic. then i got second mdichild on. the first mdichild(#vb) is stopped responding and all #vb goes into combination of second mdichild(#visualbasic)... and in second mdichild i got both responding from both #vb and #visualbasic intot second mdichild(#visualbasic). but how do i...
2
7380
by: SpotNet | last post by:
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...
0
1233
by: Supra | last post by:
i got mdichild working. i'm working on similar to mirc chat. when i joined channel #vb the first mdichild is on. then when i wanted to join another channel #visualbasic. then i got second mdichild on. the first mdichild(#vb) is stopped responding and all #vb goes into combination of second mdichild(#visualbasic)... and in second mdichild i got both responding from both #vb and #visualbasic intot second mdichild(#visualbasic). but how do i...
11
2043
by: AMDRIT | last post by:
Hello Everyone, VB.Net 2003 I would like to open a form (Form2) modally from Form1, then from Form2 display Form3 modally. It seems that once I open that third form and then close it, the second form also closes. How can I prevent that from happening? I am thinking that I have to create a "Modal Helper" that will open the
2
1873
by: Thorgal | last post by:
Hello all I have 2 questions First: I'm trying to print a Listview from an mdichild but how can i address this listview. For example, FrmMain is my Main form. In this Main form I have several mdichildren.
0
1658
by: kardiss | last post by:
I am trying to add Meebo's "Pop-out" kinda feature to my application which when a button is pressed in a MdiChild form, it kicks that MdiChild form out of the MdiParent boundary and acts like a SDI form of itself. When a button is pressed again, it is kicked back into the parent form. Everything is working fine except one problem. When the MdiChild form is kicked back into the form, I have to click the title bar of each MdiChild form to...
0
1051
by: Jeff Jarrell | last post by:
I'd like to detect the 'x' systembox close on a MDIChild. The formClosing event, ClosingReason just says 'UserClosing' and doesn't differentiate the 'x' close. I have some code I used in the past. This works for modal and as I recall worked for modeless. But it doesn't work when the window is a MDIChild. Code is below. Any suggestions? jeff
2
2146
by: mclueless | last post by:
In my project(VB6 and Access), i have a startup form which is unloaded in 2 seconds(displaying the company name etc) then a login form loads amd on proper signing in the mdi form along with one child form opens. Now...there are several modal forms that i have made and used instead of msgboxes....so do i need to make them MDIChild too like other forms????
0
9777
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11109
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10726
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10833
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10405
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7114
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4602
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3226
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.