Questions tagged [childwindow]

235 questions
1
vote
3 answers

Can't reopen child window in the same block even with a setTimeout

Here's a distillation of the problem: If I open a console and enter the following code as a single block: var existingWin = window.open('', 'footerContent'); existingWin.close(); var existingWin = window.open('', 'footerContent') the first…
1
vote
1 answer

Silverlight ChildWindow does not reposition correctly

I am using the ChildWindow (Silverlight) which also contains some expander controls. In one case, when the expander control expands, the bottom of the child window expands down out the screen on the bottom, but still leaves room on the top. How…
codeputer
  • 1,987
  • 3
  • 19
  • 45
1
vote
0 answers

childwindow focus function does not work in IE

I am trying to open a url of my application in a new tab and when user clicks on same link, it will focus on the open tab. This works fine in chrome. IE its does not work. Does IE require any other piece of code?
Hacker
  • 7,798
  • 19
  • 84
  • 154
1
vote
2 answers

Silverlight Prism + MDI windows

I'm trying to figure out how to make a customizable stock trading platform with Prism and MVVM. Trading platforms normally look something like this: http://www.shareupdate.net/wp-content/uploads/2010/11/Best-online-share-trading-software..jpeg This…
user302845
1
vote
1 answer

enumerating child windows

A couple of weeks ago someone here helped me out with writing a class that enumerates all main windows. Today I tried to modify that class in order to enumerate all child windows of a specific parent window. Here is the header file: #include…
Lumpi
  • 2,697
  • 5
  • 38
  • 47
1
vote
1 answer

Silverlight ChildWindow not disposed using MEF and MVVM

I'm not sure if what I'm experiencing is the same as here: Silverlight ChildWindow Memory Leak but...: I've got a Silverlight ChildWindow with 3 radio buttons in the same group with IsChecked all set to false in XAML, I don't want any of them…
Mike
  • 1,349
  • 1
  • 17
  • 23
1
vote
3 answers

Duplicating Child Window problem

In my application I have a Submit button that does this: private void Submit_button_Click(object sender, RoutedEventArgs e) { string variable = variable_textBox.Text; if (variable.Length >= 1 && variable.Length <= 6) { //get some…
Wolfy
  • 4,213
  • 8
  • 35
  • 42
1
vote
0 answers

How to check if a special ChildWindow is open when having MainWindowHandle in C#

I want to enumerate and iterate trough Child Windows of a program for UI Automation. My target is to be able to recognize if a special Window of the program is open or not by listing all windows and check for the title. I am geting the Handle of the…
Zer01
  • 41
  • 6
1
vote
1 answer

How to set menu bar with child window in javafx?

vbox2.setPadding(new Insets(3)); vbox2.setSpacing(3); vbox2.getChildren().addAll( browser1,browser); HBox.setHgrow(vbox2, Priority.ALWAYS); hbox.setPadding(new Insets(20)); // …
Narendra.kr
  • 181
  • 3
  • 12
1
vote
1 answer

win32 SDK child window paint (C/C++)

I'm using the win32 Platform SDK (on XP Pro) to create an app consisting a single main window with a number of child windows. The styles passed to CreateWindow are WS_OVERLAPPEDWINDOW | WS_VISIBLE (for the main window) and WS_CHILDWINDOW |…
TomZ
  • 777
  • 1
  • 7
  • 12
1
vote
2 answers

How to popup child window from viewmodel

I have to launch some sort of child window in my main ViewModel and on this child window user will enter some text and i have to use this text in main viewmodel just after closing the child window. I am able to have a popup of child window which i…
stuck stuck
  • 35
  • 1
  • 8
1
vote
0 answers

disable closing child window in silverlight 4 after you press the hotkey CTRL + SHIFT + F4

I am creating a child window to login in my application. I already disabled the X button, however, if the user types on the keyboard CTRL + SHIFT + F4 closes the window and jump the login phase. I can not stop it. can anyone help me please?
majinb
  • 11
  • 2
1
vote
1 answer

How do you display a custom message box from the selectionchanged event of the silverlight datagrid?

I want to display a custom confirmation message box (ChildWindow) when the user selects a row in a DataGrid in Silverlight. The message box simply has 2 buttons, a yes and a no. When the user clicks No, I want to restore the previously selected…
1
vote
1 answer

Usability: Child windows in Silverlight LOB applications

When authoring a Silverlight LOB application (think Outlook) with Child windows, the child windows are are mere 'fakes'. They don't get their own taskbar item, hence CTRL-TAB does not work, only modal display possible etc... Compare that to a…
Tom Deleu
  • 1,177
  • 1
  • 15
  • 29
1
vote
1 answer

Silverlight - Possible to not rotate parent window overlay when ChildWindow rotates?

I've got a ChildWindow that rotates 180 degrees when I click a button. I'm also using a ChildWindow.OverlayBrush to dim out the parent window. This of course rotates as well when the ChildWindow rotates. Is there anyway to dim out the parent window…
Johan Alkstål
  • 5,225
  • 9
  • 36
  • 48