Questions tagged [childwindow]
235 questions
4
votes
1 answer
Child window full-size in Chrome
I need to open a child window full-size in Chrome browser, the following code works fine in Firefox 16.0.2 and IE 9, but not in Google Chrome 22 . What am I…

Alex M.
- 43
- 1
- 2
- 6
3
votes
2 answers
How do I get the active ChildWindow of an application?
I have this problem: I have an handler to the mainWindow of a certain application, and I want to simulate a keypress on that application...
I'm using sendMessage/postMessage api calls to do this. The reason why I don't use the .Net SendKeys function…

Noyoudont
- 155
- 3
- 7
3
votes
3 answers
How to simplify the code for settings values passed between a main and child forms
I have a class that stores settings for my app. It is instantiated when the app. runs and saved when the app. closes.
public class Settings
{
public bool showPrivacyPageOnBlogs;
public bool showTermsPageOnBlogs;
public bool…

Andy
- 157
- 10
3
votes
1 answer
ChildWindow won't display when call from the main(Silverlight, C#)
I have a Silverlight application (edit: an Out-of-browser application with elevated trust) which must open a ChildWindow (for login purpose). When I (try to) call the event from the main (or any function called in the main), with the code below,…

Philippe
- 986
- 1
- 6
- 17
3
votes
1 answer
How to create child layered alpha-transparent window?
I am trying to create transparent child window.
procedure TForm1.BtnGoClick(Sender: TObject);
var
bmp:TBitmap;
BitmapPos: TPoint;
BitmapSize: TSIZE;
BlendFunction: _BLENDFUNCTION;
exStyle: Cardinal;
begin
bmp := TBitmap.Create;
…

Astronavigator
- 2,021
- 2
- 24
- 45
3
votes
3 answers
WPF closing child- closes parent-window
i have the pretty same sample as mentioned here.
Fast concluded: MainWindow closes when the last childwindow is closed.
My Problem: I couldn't solve my problems with the described solutions. I can't produce a program where it als takes place. Only…

freakinpenguin
- 831
- 14
- 24
3
votes
3 answers
MVVM Pattern in a templated form
In my silverlight application the user can create multiple templates of a form. Depending upon the template selected, the form would display a set of views in a particular order. Furthermore, some of the views are "required" if present on the…

user559788
- 303
- 2
- 13
3
votes
1 answer
How to detect if a child window is opened or closed in tkinter
I am doing some basic GUI programming in Python using tkinter. I have a main window which has two buttons. Each of these buttons open a specific child window but the problem is that the new windows are generated every time I click either of the…

iamsubingyawali
- 193
- 1
- 2
- 15
3
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…

Andro Miguel M. Bondoc
- 712
- 5
- 17
- 39
3
votes
1 answer
Open second window from main with pyqt5 and qt designer
I'm creating an application with two windows using pyqt5 and QtDesigner. A button on the main window "MainWindow.ui" should open a second window from the file "age_entry.ui" but I seem to be missing something. Clicking the button on the first form…

jshort
- 353
- 1
- 2
- 15
3
votes
1 answer
Using pywinauto, how do I get Text of static text object, given the handle of the parent dialog
1. My code:
print ('##########')
app = pywinauto.application.Application()
window_handle = pywinauto.findwindows.find_windows(title = u'My Dialog Name')
my_handle = window_handle[0]
window = app.window_(handle = my_handle)
for x in…

D. L. Palmer
- 33
- 1
- 1
- 4
3
votes
2 answers
How to put a child window inside a main window(PyQt)
I looked here in stackoverflow and google for some days for something like my case, but all the examples I found did not work.
What I want is to have my parent window with the menu, and then call other child windows from that menu and execute/show…

Pythonian
- 41
- 1
- 2
- 7
3
votes
1 answer
the disappearance of the child window when when the parent window redrawn
I created child window (dialog) end set it's parent the window of another process (Notepad for example) by its handle.
HANDLE hProcess = OpenProcess( PROCESS_QUERY_INFORMATION |
PROCESS_VM_READ,
FALSE, processID );
if (NULL != hProcess )
{
…

Nika_Rika
- 613
- 2
- 6
- 29
3
votes
2 answers
Pass data to Child Window in Silverlight 4 using MVVM
I have a datagrid with master detail implementation as follows:

Archie
- 2,564
- 8
- 39
- 50
3
votes
0 answers
how to make a child window top most (c++ win32 SDK)
I'm trying to write a very simple gui layout designer, just like most popular IDE, something like:
How to implement those 8 dots around the widget?
My idea is create a transparent static control(called ghost), with 8 dots around it, reisize it to…

aj3423
- 2,003
- 3
- 32
- 70