Questions tagged [childwindow]

235 questions
2
votes
2 answers

silverLight childWindow

how can i do my childWindow to be always on top?
aharon
  • 7,393
  • 10
  • 38
  • 49
2
votes
0 answers

Powershell: Set focus to child window

I am in the processing of Automating Virus Scan Exclusions. Since I cannot write straight to the registry, I am making a macro of sorts using PowerShell. It works pretty well, but I want to ensure that I have the focus of the window I want before…
2
votes
2 answers

C# Find selected control on any window

What would be the best way to go about finding what the active control is on any window? I am going to be sending the WM_PASTE message to it. ChildWindowFromPoint has not been returning a fair few of the selected controls.
Luke
  • 291
  • 2
  • 8
2
votes
2 answers

MVVM-Block Tab key in WPF

I am working in WPF with MVVM. I implemented WPF Extended Toolkit and I use ChildWindow, when I open the ChildWindow the property IsModal is enabled. But this property does not block navigating with Tab. I need block the navigating with Tab when the…
CampDev
  • 1,659
  • 3
  • 16
  • 22
2
votes
2 answers

How to close a ChildWindow from an UserControl button loaded inside it?

this is my ChildWindow xaml code: 1 2 3 4 5 6 7 …
Learning Xamarin
  • 547
  • 3
  • 11
  • 25
2
votes
3 answers

Saving state of Child windows in WPF C#

I have a WPF GUI that allows the user to open up an options menu. The option menu opens in a new window and is filled with check boxes. When the user presses the "ok" button the window closes. However, it doesn't remember what check boxes were…
Eric after dark
  • 1,768
  • 4
  • 31
  • 79
2
votes
1 answer

How do I get the parent window's grandson, or grandson's son

I have a main window class, called for example file, and each file window, has several child windows, for example pages, and each page has several child windows, for example text boxes, etc, etc.. How can I get handle of the file, from handle of the…
user1544067
  • 1,676
  • 2
  • 19
  • 30
2
votes
1 answer

Does the ChildWindow work on MacOS?

Does the ChildWindow work on Mac in an out-of-browser application (or in-browser, for that matter)? So far, I have not been able to make it work. Is there a list somewhere of all the Silverlight features that don't work on Mac? That would be…
Number8
  • 12,322
  • 10
  • 44
  • 69
2
votes
1 answer

How can I close a Silverlight child from the ViewModel?

I have a child window that is used for logging in. Previously, a large portion of the code was in the Window's code behind. I refactored all of it to fit the MVVM model. Which it's all working, except I can't close the child window when it's…
ernest
  • 1,633
  • 2
  • 30
  • 48
2
votes
2 answers

Display child window on the screen where the parent window is located

C++ I have a modal child window that can be launched form a main window. The application runs on a Citrix server and when the user is on dual monitors, she can drag the child window to the secondary display and somehow Windows saves this position.…
Mane
  • 47
  • 1
  • 6
2
votes
1 answer

split a window without a split bar

In order to split a window into 2, for example, viewing 2 documents at the same time, we created 2 child windows and a split bar to resize the child windows. But I have seen many applications which have multiple panels without a split bar. In fact,…
user565739
  • 1,302
  • 4
  • 23
  • 46
2
votes
1 answer

Leave parent window active when child opens

How can I open a child window and keep the parent window active. I am using Silverlight 5 with the latest version of the toolkit. I understand that playing with the brushes can help to have the background look normal but the parent window is still…
Stainedart
  • 1,929
  • 4
  • 32
  • 53
1
vote
2 answers

Silverlight BusyIndicator : Higher Z-Index than all ChildWindows

Perhaps the title is worded incorrectly. I have a "global" Busy Indicator that works great, as long as I don't try to use it when a ChildWindow is open. I access the "global" Busy Indicator by using a static method in my App.xaml.cs: BusyIndicator b…
DaleyKD
  • 417
  • 1
  • 4
  • 18
1
vote
3 answers

I get an error about using a different thread?

When I click my ActionButton, there is a timer that starts and after 3 seconds, it must fire a methode to change the current ContentPage to the another page. But i get a message : The calling thread cannot access this object because a different…
Letoir
  • 395
  • 7
  • 15
1
vote
1 answer

Show child window before InitializeComponent

I have Silverlight application i want to show login window before main page InitializeComponent(); this method does not works: public MainPage() { Login log = new Login(); log.Show(); …
Irakli Lekishvili
  • 33,492
  • 33
  • 111
  • 169