945
questions
0
votes
0
answers
11
views
Why my simple python MDI app suddenly crashed while closing sub window
I made below MDI app thanks to AIs.
enter image description here
Currently, I realize that there's a bug in my code which I am not sure.
Because same app was initially developed with Qt5 and at that ...
0
votes
0
answers
39
views
Whenever I am maximizing the subwindow in MDI in Pyqt5 the minimize, maximize and close buttons gets hidden in the extreme right top corner
Inside the method, a new QMdiSubWindow object is created, and its content is set to windowRef. The title of the sub-window is set to subWindowTitle. The sub-window is also set to be deleted when it is ...
0
votes
0
answers
62
views
QT Advance Docking system: How to lock floating docks inside window
I'm using the QT Advanced Docking System
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
which seems rather mature.
As soon as I undock my docks, they will be freely floating on the ...
-1
votes
1
answer
65
views
Guidance / best practices on MFC MDI [closed]
I have taken up the task to write my own terminal emulator.
The project, should it ever come to life, will be a replica of the VanDyke SecureCRT.
It should support both Telnet & SSH protocols, and ...
0
votes
1
answer
32
views
Form.ShowDialog() called from MDI child form blocking other forms
I have a winforms project. I open a child MDI form from base form / parent form. Then I call form2.ShowDialog(), this freezes parent form and all other forms until the ShowDialog() is completed.
I ...
1
vote
0
answers
15
views
Restore mdi children after Controls.Clear [duplicate]
I have Form1 which is MdiParent and Form2 which is MdiChild. In Form1 I have sidebar which has combo box that contains language names, and buttons which switches between mdi children. When value of ...
1
vote
1
answer
128
views
Child Form's MDI Parent Property Becomes Null in Windows Forms C#
I'm a 13-year-old learning C# and I've come across an issue in my Windows Forms application. The MDI parent property of a child form becomes null after adding it to a panel. Below is the relevant code ...
0
votes
1
answer
87
views
How to limit view window size in MFC doc/view MDI?
I have an MFC doc/view app, MDI. A document has 7 views (based on CScrollView), and I want to have the ability to limit the size of each view window.
Users can change the size of a view by dragging on ...
0
votes
2
answers
82
views
Effective Client area of an MDI application without an active CView
I have an MDI application with numerous docking bars etc. I would like to know how to acquire the effective client area of the CView region without any such CView's existing.
Should such a view exist ...
1
vote
2
answers
358
views
Delphi 12 MDI: Change caption color?
Prior to Delphi 12, MDI children were displayed in the Windows 7 Aero design, even with Windows 11.
New to Delphi 12 is that the MDI children have the typical Windows 10/11 design, which is amazing in ...
0
votes
0
answers
29
views
WinForm MdiControl Child Titlebar Styling
We have a legacy WinForms application which has an odd issue with styling.
I have a main WinForm which has IsMdiContainer set to true. I have a child form and set it's MdiParent property to the main ...
0
votes
1
answer
19
views
If I turn off child form, does it automatically turn off thread for tcp running in child form?
I have two Winform application(.net) server app A and client app B.
client will open a child form to receive data from server through TCP protocol and display the data on child form.
client will open ...
0
votes
0
answers
84
views
How do you hide the scrollbars in the MDI Child form?
How do you hide the scrollbars in the MDI Child form?
when i ran my project, my mdi child form showing scrollbar automatically. And no setting at all to show that scrollbar. it show horz and vert ...
0
votes
2
answers
132
views
Take MDI Child Window out of the MDI frame Window in an MFC application
I have an MDI legacy MFC application. Inside the MDI Frame Window, I have MDI Child Windows. Is there a way I can take these MDI Child Windows out of the MDI Frame Window? I am asking that to see if I ...
0
votes
0
answers
25
views
C# - Set image in menu generated as mdiwindowlistitem
I rewrite the question.
In C# I have a desktop application in .NET Framework. That application has a form that is MDIParent, and inside it will display a number of other forms. These forms have a ...
0
votes
0
answers
223
views
How can MDI form of Delphi application receive and process WM_DROPFILES Windows message?
I am developing Delphi application in the older Delphi versions (Delphi 6, the essential thing here is that older Delphi versions have no Messaging unit) and I am using approach described https://...
0
votes
1
answer
291
views
How to dock my custom ToolBar to MainFrame, MDI, MFC, VisualC++?
I have a problem with docking my toolbar to my mainframe inside the OnCreate method.
Everything was fine till I added DockControlBar(&m_wndColorBar) -m_wndColorBar is my toolbar.
There is a Debug ...
0
votes
0
answers
61
views
How to add a MDI Child from another MDI Child using vb.net
I need Some help in this case.
I have 3 Form (Main Form , Form1 , Form 2)
Main Form That is The Parent Form (ISCONTAINER = true)
Form 1 Is child for Main Form And In the same time Parent for Form2
...
2
votes
1
answer
613
views
@mdi/js doesn´t work on Laravel 9 Vuetify 3
I want to use @mdi/js in my Laravel 9 Vuetify 3 app. The Vuetify 3 documentation says what should be done. But that doesn't work for me.
My app.js
import './bootstrap';
import '../css/app.css';
...
1
vote
1
answer
248
views
C# Winform MDI Form with Split Container - MdiChildren is empty
I am creating a C# .Net 4.8 Winform app with one MDI Form. This MDI Form has several panels and a split container.
When adding a childform I use the following code:
frm.Text = formTitleText;
frm....
1
vote
2
answers
321
views
How to move a Form to the foreground when clicking a Window of another app parented to a Panel
I use the code down below to start an application and move it into a Panel on my Form. In this example I use Notepad, only as an example. Later I will use a different application.
When another ...
0
votes
0
answers
176
views
Using multiple Forms inside panels in c#
I am working on a program which contains many forms and tabs so I created a top panel to contain the tabs and create a container panal to contain forms because I want every opened form be inside the ...
0
votes
1
answer
28
views
Create Cascade Form via MDI at runtime via looping a list
I have a list that I use a foreach loop to create forms. I am trying to get the forms to cascade. I've been trying to use the MDI container and set the parent form if it meets a condition.
I would ...
0
votes
2
answers
130
views
How to detect a mouse click on an MDI child?
I use the code down below to start notepad and move it into panel1 on my form. When another application (running outside my project) is positioned in front of my form, I can click my form's title bar ...
0
votes
0
answers
155
views
Scrollbar Position with Mouse Wheel Event C#
I have been poking around to understand how can I scroll the MDI Form with the Mouse Wheel event.
so I was able to capture and wire the event call. However, when the Child Form appears the MDI Form (...
0
votes
0
answers
112
views
Getting textbox from window in mdi client
I am trying to read textbox value from another form application, so far everything has been successful, I did tests on the an notepad app, problems started when I want to get a value from the textbox ...
0
votes
1
answer
313
views
How to resize a parent form and panel to fit a child window
I use the code below to start a cmd.exe windows and move it into a panel after execution. At this moment, the child window is resized to fit into Panel1 on my Form1. I would like it to be the other ...
1
vote
1
answer
337
views
MDI Child `MenuStrip` hidden on Non-Maximized and not visible anywhere
I have two WinForms. A frmMainMenu and a frmIndividual with frmIndividual a child of frmMainMenu. Each window has its own MenuStrip in the designer. However at runtime, the child menu does not appear ...
0
votes
1
answer
319
views
Where is the correct place to create/destroy and show/hide a QMdiSubWindow menu?
I am learning Python by creating an MDI application in PyQt5. This application contains a class derived from QMdiSubWindow. These sub-windows need their own menu to be added to the main menu-bar. ...
-2
votes
1
answer
347
views
MDI Application : Home/Dashboard in Delphi berlin 10.1 application
I am working on an MDI application in Delphi 10.1 Berlin. There is a main Form and child Forms. When I open a child form, it is displayed in the client area of the main Form, which is how an MDI ...
1
vote
0
answers
327
views
Removing top level Menu item (in MFC). .
1> I could remove top level menu item (along with its sub-menus) in MFC MDI application using below code.
void CMainFrame::OnRemoveMyMenu()
{
////////////////////////////////////////////////////...
0
votes
0
answers
28
views
PYQT5 imported MDI Subwindow Scaled Up
I'm working on a gui tool-- I'm building it with Pyqt5. I'm speifically NOT using QT designer. I'm using an MDI widget to keep everyhing a bit tidier.
Furthermore, so that my code is more crisp and ...
1
vote
1
answer
600
views
How to programatically dock MFC MDI child windows
I've generated a simple MFC app using the Visual Studio 2017 project wizard, selecting MDI and Tabbed Documents and Doc/View support. Running the app, I can create new documents, and they show as tabs,...
1
vote
0
answers
54
views
MDI Application Reports a Hidden Form
I have an MDI application in VB.NET. I want to run a function only if no other forms are open - just the main form. So I test the Application.OpenForms.Count before running the function, wanting no ...
0
votes
0
answers
187
views
MFC MDI Menu Bar Icon MainFrame vs Loaded Added Menu Icon->How to control/Edit?
When my MDI app opens and loads m_wndMenuBar and waiting for the user to open a file to begin file operations, in the MenuBar it has the menuitems like File, View, ....etc.
When the user loads in a ...
0
votes
0
answers
212
views
How to share a menu between different CMultiDocTemplate instances
I have a data analysis program (C++, MFC, MDI interface) that can read data from several different commercial sources, each with its own file format, but which offers the same view and analysis ...
0
votes
0
answers
228
views
MFC MDI dynamically changing tab style from a property dialog
It has been 10 months since I worked on my app due to a death in the family, just started looking at it again and still not sure how to solve the problem.
The project inquires/help started here:
MFC ...
2
votes
1
answer
330
views
CMDIFrameWnd::MDIGetActive returns null when called from external code
I have inherited some legacy code that i'm required to integrate with a modern c# GUI. The codebase is a MFC MDI application, that creates a type library and registers a COM component to expose the ...
0
votes
1
answer
250
views
True size of my MDI Client area - height - 14?
I am trying to center an MDI Child window in the center of my parent window's client area. By trial and error, I had found the following to work:
((parent.ClientSize.Width - 4)-centerchild.Width)/2, ((...
0
votes
0
answers
298
views
How to change the size of a minimized MDI window in Windows 11?
I'm facing an issue with in-app minimized windows, which are broken on my Windows 11 (certainly by a software, but I don't know which one...). Those in-app minimized windows are much more narrower ...
1
vote
0
answers
1k
views
How to create WinUI3 C++ app with MFC Doc/View architecture
I have a MFC app with Doc/View architecture and it is created with multiple-document interface. I want to use latest UI from WinUI3 so want to convert the MFC app to WinUI3. How can I go about it? If ...
0
votes
0
answers
152
views
vb.net mdi child is hidden behind MDI Parent Panels
I am planning to have a vb.net windows form applocation that has a main mdi ( contains menu strip + panels all over the mdi )
the problems is when a child form is shown , and when minimizing the ...
6
votes
1
answer
2k
views
How to open a new MDI sub-window in PyQt5?
What I want to do is to open a new Countrypage sub-window by clicking on the "New" button which is in Countrypage itself.
For example, if I click the "New" button in a CountryPage ...
1
vote
0
answers
101
views
Change an MDI Border Style in C#
I was wondering how can I change the MDI Parent's Border Style?
The Window has Fixed3D as it's default settings but I would like it to be just a normal border just like FixedSingle.
0
votes
1
answer
92
views
I Can't open again the 2 Window Childs in MDI Parent
I created a MDI Parent Form (Form1), that has 1 Menu with 2 Items.
Each Item opens a Window Child (Form2 and Form3).
I can open Form2 and Form3, if they are already open they just got the focus.
So ...
0
votes
0
answers
55
views
Maximized MDI child is restored when a new child is created
I have a current active MDI child window that is "Maximized", but upon creating a new MDI child window, the current active MDI's state was changed to "Restored". Is there a way ...
0
votes
0
answers
171
views
Previously child window resizing limit after SetParent to null
I am trying to detach another program's child window using SetParent(hWnd, IntPtr.Zero). After setting parent as null I remove WS_CHILD style. It is OK until I want to change its size, it seems it is ...
0
votes
1
answer
137
views
CurrencyManager PositionChanged-Event stops working after Form gets detached from its MDIParent
I encountered a weird issue that when I detach an MDIChild from its parent, the CurrencyManager PositionChanged event stops working. I got this behaviour in my main application and was able to ...
0
votes
0
answers
78
views
Can I reduce the usable area for an MDI client window?
I'm working on converting an application from WINAPI C to C#. I'm trying to duplicate the functionality as much as possible. Part of the application uses a set of search windows which sit inside a ...
0
votes
1
answer
138
views
MDI Tab names changing back... / Taskbar Preview not selecting
I'm creating an MDI application, WITHOUT the Document/View.
I am also using MDITabbedGroups.
I had a problem, because I have to name may tabs dynamically (names are in the DB and user created), ...