Questions tagged [childwindow]

235 questions
1
vote
1 answer

Embedding modeless dialogs as child window with Windows API

I know, there must be a way to embed an (modeless) dialog as child of a window created with CreateWindow. In my case I want to embed them into an scroll-able container window, whereby this container windows it self is a child of the main window (see…
bkausbk
  • 2,740
  • 1
  • 36
  • 52
1
vote
1 answer

silverlight - change child window position when opened

How do I change position of childWindow control when it is opened? I want to do that because I want to make resize animation.
Gapipro
  • 1,913
  • 2
  • 22
  • 34
1
vote
2 answers

VisualStateManager.GoToState not working on DataGrid within ChildWindow

I extended the System.Windows.Controls.DataGrid control in order to add a static empty collection message when the ItemsSource is null or empty. The logic to determine whether the message is displayed or not is done using a visual state, as shown…
AVFC_Bubble88
  • 473
  • 1
  • 3
  • 15
1
vote
2 answers

Constraining draggable child windows within parent window?

Please take a look at this screenshot: As you can see, the "Executable modules" and "Threads" child windows are free to roam about in the sandbox-like "Themida" parent window, and if they get dragged past the edge the overflow simply gets hidden.…
1
vote
1 answer

win32 sdk: how to make the caption/border of a child window transparent

In my win32 application I want to create a child window within the main window. I assigned these styles to the child window when calling CreateWindowEx: WS_CHILDWINDOW | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | WS_SIZEBOX | WS_CAPTION The child…
Haiyang
  • 1,489
  • 4
  • 15
  • 19
1
vote
2 answers

How to hide the border around child window

I have a child Window , and I am displaying it from the code behind as below: ChildPhotoViewer PhotoViewer = new ChildPhotoViewer(); PhotoViewer.DataContext = selectedPhoto; PhotoViewer.Title =…
Simsons
  • 12,295
  • 42
  • 153
  • 269
1
vote
1 answer

how to return data from child window tp parent window in extjs?

In a treepanel on Node click i'm opening a form (Ext.form.Panel) in child window (Ext.Window) to get the user input. In a form I have radio buttons and textfield and OK and Cancel buttons. on Ok click i want to close the window. after closing the…
Amruta
  • 21
  • 3
1
vote
2 answers

How to know the position of the Silverlight ChildWindow when you close it

Please, help me. public myChildWindow() { InitializeComponent(); // set left and top from saved values Margin = new Thickness(70, 50, 0, 0); } private void ChildWindow_Closed(object sender, EventArgs e) { // How to know the…
Silver
  • 13
  • 1
  • 3
1
vote
2 answers

Disable the parent window, without changing the visual appearance of any of the controls

I am trying to solve what looks like a simple problem, but I can’t find a simple solution. I have a window in wpf, that window contains only of one listbox with few names and one button, the button don’t do anything. When you click on an item in the…
adminSoftDK
  • 2,012
  • 1
  • 21
  • 41
1
vote
2 answers

Is there a way to synchronize Silverlight Child Window (make it like MessageBox)?

ChildWindow1 wnd1 = new ChildWindow1(); ChildWindow2 wnd2 = new ChildWindow2(); wnd1.Show(); //**Is there a way to pause thread here until wnd1 is closed???** wnd2.Show();
Dmitrii
  • 1,247
  • 4
  • 14
  • 28
1
vote
1 answer

How to limit child window's movement within parent boundaries?

I was wondering is it possible to limit child window's ability to be moved around to only within parent's panel boundaries ? Suppose I create a child window with a button click:
Ash
  • 49
  • 1
  • 10
1
vote
2 answers

How to show a child form within a mdi container form which its windowstate= maximized?

How can I show a child form within a mdi container form which its windowstate= maximized ? when I put these below lines of code when my child form is loading (by clicking on a menu Item of my Main form), the child form loses its parent position and…
odiseh
  • 25,407
  • 33
  • 108
  • 151
1
vote
1 answer

Internet Explorer child window in VBA

I have a VBA code that clicks a link on a IE page and a new window opens. How can I get the elements of that child window? I tried with Shell.application. Are there any other methods? Set objShell = CreateObject("shell.application") IEcount=…
user3409535
  • 23
  • 2
  • 8
1
vote
0 answers

Child window share services and dependency injection

I am writing an AngularJS application that needs to be distributed in two browser windows. Is it possible to have an application span both windows, i.e. have the same services, dependency injection etc. available in both windows? If not, is it…
MW.
  • 12,550
  • 9
  • 36
  • 65
1
vote
1 answer

Creating child editable textbox window on firebreath plugin

Newbie to Winapi.Learnt the basics of winapi and tips of creating child window in firebreath plugin. Searched tutorials,got answers.But don't know What Am i Doing wrong here? Following is my code>>My main objective is to create a textbox functioning…