Questions tagged [childwindow]
231 questions
18
votes
6 answers
Using MVVM in WPF, should I launch child windows from View code behind, or ViewModel?
I've been puzzled by this for a while. I am writing quite a large RibbonWindow WPF application using the MVVM pattern. The screen has a RibbonBar menu along the top and the rest of it displays the various Views. Some Views contain other Views and…
![](../../users/profiles/249281.webp)
Sheridan
- 64,785
- 21
- 128
- 175
15
votes
6 answers
Angular component in a Browser's child window
From an Angular application is there any way that I can create a Browser's child window and show some predefined angular component in it.
Clarification : I am not looking for a Modal dialog solution.
![](../../users/profiles/1057180.webp)
Shrikey
- 717
- 3
- 9
- 31
11
votes
4 answers
Silverlight ChildWindow for WPF
is it possible to make a ChildWindow like ChildWindow in Silverlight, but for WPF? I tried to adapt the Silverlight ChildWindow to WPF but ran into issues with Transformations and not being able to set the Popup's Parent. I'm trying to make…
![](../../users/profiles/269089.webp)
Jeff
- 355
- 2
- 5
- 15
10
votes
1 answer
using MVVM light messenger with Silverlight 4 ChildWindow dialog class
Greetings! Am enjoying using MVVM light -great framework - has made my life much easier, and has removed a number of barriers that were proving difficult to overcome....
Question:
I am attempting to setup a custom dialog box for editing messages…
![](../../users/profiles/293077.webp)
Mike Morley
- 105
- 1
- 6
7
votes
8 answers
How to close a ChildWindow with Cancel button using MVVM Light Toolkit
I'm new to MVVM and trying to figure out how to close a ChildWindow with the traditional Cancel button using MVVM Light Toolkit.
In my ChildWindow (StoreDetail.xaml), I have :
6
votes
1 answer
Win32 Capturing child Window messages in parent window
In my Win32 application, a child window is created by a third party SDK.The Window creation process is transparent and I cannot associate a WndProc method with the child Window. I want to be able to capture child window messages in parent window.…
![](../../users/profiles/841614.webp)
Farooq Zaman
- 435
- 1
- 6
- 19
6
votes
3 answers
WPF window position
I have asked a question before about creating a child window here ... Now when I open child window, it doesn`t open centered to the parent window. How can I set it to open centered to the parent window?
![](../../users/profiles/348311.webp)
sikas
- 5,071
- 27
- 72
- 117
6
votes
3 answers
Silverlight Confirm Dialog to Pause Thread
I'm trying to do a confirmation dialog using Silverlight's ChildWindow object.
Ideally, I'd like it to work like MessageBox.Show(), where the entire application halts until an input is received from the user.
For example:
for (int i = 0; i < 5;…
![](../../users/profiles/212434.webp)
AlishahNovin
- 1,774
- 3
- 19
- 37
6
votes
1 answer
WPF Child window hosted in third-party application invisible on Windows 7 Aero themes
I have a WPF window which has to behave as an overlay of a window in a third-party running application. My WPF window must be mostly transparent with some visible controls, always be positioned right on top of the other window in the z-order, move…
![](../../users/profiles/158378.webp)
Udi Bar-On
- 761
- 1
- 7
- 20
6
votes
1 answer
Allow views in childWindow to become key without losing focus on parentWindow
I added a childWindow of a custom subclass of NSWindow to a parentWindow (also a custom subclass of NSWindow). The childWindow has the NSBorderlessWindowMask and canBecomeKeyWindow: is overridden to return YES and canBecomeMainWindow: to return…
![](../../users/profiles/1714784.webp)
tungsten
- 333
- 3
- 12
5
votes
3 answers
Removing the default MDI menu of a MDI Container form when a MDI Child is maximized
I am working on a .NET C# application that has a main Form which is MDI container. When the user maximizes a MDI child, Windows draws a control strip right under the title bar of the container Form which has the Icon of the child and the system…
![](../../users/profiles/121174.webp)
WorldIntruder
- 191
- 1
- 10
5
votes
2 answers
C# WPF child window (about window)
I have an application on C#/WPF that I`m developing ... I have a btn named About which should open a new window that contains details about the application or whatever I will put in it.
When I click the btn, a new window (about) opens, when I click…
![](../../users/profiles/348311.webp)
sikas
- 5,071
- 27
- 72
- 117
4
votes
2 answers
How do I get the active ChildWindow of an application?
I want to send a pressKey event to a certain application which is not the active application IN Windows so I have to use the sendMessage/postMessage api calls.
However, I need to know the exact child window that is active IN the application and send…
![](../../users/profiles/102450.webp)
Noyoudont
- 155
- 3
- 7
4
votes
2 answers
Child window Problem in C++
I'm having a problem in my program whenever I close the child window, the main window also exits.
I am a newbie in this programming.
The Correct Code:
/**
@file MainWindow.cpp
@author Andro Bondoc
@date 2011-02-11
*/
/** @file…
![](../../users/profiles/605848.webp)
Andro Miguel M. Bondoc
- 640
- 5
- 17
- 37
4
votes
1 answer
delphi how to prevent a MDI child from being maximized?
in delphi mdi application there is need to show a child window with its caption in Mainform client area when maximize button is pressed using
Win32Check(Windows.GetClientRect(ClientHandle, aTRect));
MDIChild1.BoundsRect := aTRect;
functions.
So,…
![](../../users/profiles/3099580.webp)
Avrob
- 363
- 1
- 8
- 18