Questions tagged [childwindow]

235 questions
1
vote
1 answer

ChildWindow Modality

By default the ChildWindow Overlay covers (and disables) the entire root visual. I want to cover (and disable) just part of my UI. How can I alter the existing ChildWindow to allow me to specify the Root? Thanks, Mark
Mark Cooper
  • 6,738
  • 5
  • 54
  • 92
1
vote
2 answers

Silverlight ChildWindow: HRESULT E_FAIL on ChildWindow.Show()

I have some problems with ChildWindow control, I have created an error window control that is shown after unhandled exception is caught in app.xaml.cs. The problem is when I try to show the error window, sometimes it works fine, but sometimes I get…
Boris
  • 13
  • 3
1
vote
0 answers

Issues setting scrollTop of element

I have found many posts with the same answers on how to do this but it just isn't working for me. I can see the scrollHeight of the element I am trying to set but the scrollTop value never changes from zero. The only possible difference from a…
Jon Rose
  • 1,457
  • 1
  • 15
  • 25
1
vote
2 answers

How do you close open dialogs in a silverlight app?

I have an automatic-lock functionality in my Silverlight app that needs to lock the screen after a certain period. The problem is that open dialogs remains open even if the app is locked. How do I close these dialogs programatically?
gyurisc
  • 11,234
  • 16
  • 68
  • 102
1
vote
1 answer

Implement a child window in WPF

Well its been little embarrassing ,but i am very new to wpf . and i want to implement a child window inside a parent window,which is movable and dragable inside the whole window. till now i have seen many blogs but all of them are very complicated…
Vivek Saurav
  • 2,235
  • 4
  • 25
  • 46
1
vote
2 answers

How can I insert a treeview in a child window in Tkinter

Dear All I have been trying to insert a treeview in a child window using Tkinter but it has been quite complicated since I don't know how to put them together. Thank you very much in advance! Héctor This is what I have done so far: import…
Hector
  • 275
  • 6
  • 16
1
vote
1 answer

WPF MVVM open new window on top of Parent Window and set parent window as Owner of Childwindow

My question is related to following article where you posted your answer. Ref: open child window inside a parent window in wpf using MVVM I am using MVVM framework and the technique you have mentioned in your following…
Mitesh
  • 59
  • 1
  • 5
1
vote
1 answer

WPF - Wrong focus when multiple windows are shown

we are experiencing a strange behavior regarding focus between multiple windows. Our scenario looks like this: "Window A" opens child "Window B" using the Show method (without precifying the owner of the window). Both Windows are totally…
1
vote
0 answers

Monitoring events in a parent window when a child window is open in Qt

I'm trying to auto-hide the mouse in my application after a few seconds of inactivity and have the code below to handle this. Everything works great until I open a child window: the mouse does not reappear until I move the mouse over the child…
dwj
  • 3,443
  • 5
  • 35
  • 42
1
vote
1 answer

Loading UserControl within a Child Window

I have a child window created in silverlight. I need to load a user control within the child window(for a content change in the same child window) on a button click. How can i acheive this? Say for Example: If i have a child window with a Header ->…
1
vote
1 answer

child dialog window inside a dialog window

I want to create 2 dialog windows, one is a child of the other one. Below is part of the code. When I click the menu item "Parent", it created the 2 dialog and set one as a child of the other one, as the picture showed: The problem is that they are…
user565739
  • 1,302
  • 4
  • 23
  • 46
1
vote
1 answer

Silverlight Application Almost Freezes When Loading Images Using WebClient (ChildWindow Used as ProgressBar)

I have this weird issue. The code I have on my main thread: WebClient client = new WebClient(); client.OpenReadCompleted += new OpenReadCompletedEventHandler((ss, ee) => { Dispatcher.BeginInvoke(() => { try { …
Peter Lee
  • 12,931
  • 11
  • 73
  • 100
1
vote
1 answer

Top of the Child form goes below parent form

I have a parent and child form in Delphi. Parent form contains a TControlBar and on the top of ControlBar there are two Toolbars. On one of the toolbars there is a button which is used to open the child form. When child form is displayed, top…
1
vote
0 answers

During Silverlight ChildWindow closing animation user can click any button

I am developing a rich user interface using Silverlight 5. I have lots of ChildWindows. Child Window has sort of buttons which are bound with Commands. I realized that if Child Window Close method is called, closing animation begins. However during…
1
vote
1 answer

addChildWindow:ordered: methods behaves strangely in snow leopard machine

I have a main window from which I am presenting a sub window as the child of the main window. When I close the main window and then restore it from dock, both windows will come again. After that when I try to close my child window, main window is…
Advaith
  • 1,087
  • 3
  • 12
  • 31