Questions tagged [reparenting]

26 questions
7
votes
3 answers

How to reparent a component in ReactNative?

In the below code, I expected the webView content to not change when the clicks are increased, but every time it loads, a new timestamp is displayed. const webView = (
Prasanth
  • 5,230
  • 2
  • 29
  • 61
7
votes
1 answer

How to call CreateProcess() with STARTUPINFOEX from C# and re-parent the child

I need to create a new process but so that it is a "child" of another process not the current process eg re-parent the new process. The following have got me almost there .NET : How to call CreateProcessAsUser() with STARTUPINFOEX from C# and .NET :…
Kaarel Saal
  • 101
  • 1
  • 1
  • 3
6
votes
3 answers

Reparenting in Mercurial: how does one bring two independent svn clones back together?

Here's the situation: developer Foo created a hg repo from our svn repo. Foo's hg repo was only a shallow clone of the trunk in svn (no svn branches, tags, etc. and the history was incomplete [about 100 changesets]). Developer Bar did the same…
mattjackets
  • 101
  • 5
6
votes
2 answers

Reparenting a child branch to its grand-parent

I have the following branch structure: - Main |- Release 1 |- Release 1.1 |- Release 2 I want to reparent Release 1.1 to Main so it looks like - Main |- Release 1 |- Release 1.1 |- Release 2 The reason I want to do this is…
user1601700
  • 61
  • 1
  • 2
5
votes
1 answer

Better way to reparent visual items in QML

It would seem that in the design of QML user reparent was not really "envisioned", because even though it is possible, it involves creating and changing states, which is just not convenient to add to each and every item. import QtQuick 1.0 Item…
dtech
  • 47,916
  • 17
  • 112
  • 190
3
votes
1 answer

How do I host an application window as a child of a window belonging to another process?

I would like to host an application window from a process "A" into the main window of a process "B", just as if "A"'s window were a MDI child window. Is this possible in Windows? Or are there some tricks which would allow me to fake this? By the…
Pierre Arnaud
  • 10,212
  • 11
  • 77
  • 108
3
votes
1 answer

Reparent X11 window on a JFrame or a JPanel?

In order to embed a C/C++ X11 application into another Java application, is it possible to reparent the X11 top level widget in: a JFrame or a JWindow (catching the X11 window ids of their X11 peers using package sun.awt.x11)? or a JPanel? I would…
paranoia25
  • 626
  • 1
  • 5
  • 23
2
votes
3 answers

Create window as child in third party application

I'm trying to get my C# form to be parented correctly in a third party app, I have the handle to the control that I would like my form parented to but just can't seem to get it to work. alt text http://img693.imageshack.us/img693/8871/examplec.jpg I…
Nathan W
  • 54,475
  • 27
  • 99
  • 146
1
vote
1 answer

Java/SWT: How to receive mouse events from an embedded window

I am embedding a windows application into my SWT application using 'reparenting'. That part works ok. I would now like to hook my SWT app into the message queue for the embedded app to receive mouse move events. I see that the OS class in SWT has a…
paul
  • 13,312
  • 23
  • 81
  • 144
1
vote
1 answer

How to prevent reparented window blocking X session?

I reparent an external window into Qt application (XReparentWindow, XMapRaised, XMoveResizeWindow). It works, but when I click to that reparented window the system locks (no mouse or keyboard events), expect of may be some input inside the…
Vi.
  • 37,014
  • 18
  • 93
  • 148
1
vote
2 answers

Adding a project reference in TFS redirects to a previously branched version of the project♦

I have a TFS structure that looks something like this: $ -MainSoftwareBranch -Dev -Main -Enterprise -Project1 -Test -TeamProjectA -Main -Enterprise -Project1 -TeamProjectB -Main -Enterprise -Project1 The end goal of this is…
Barry Colebank Jr
  • 1,939
  • 2
  • 16
  • 16
1
vote
2 answers

Three.js add: keep position

When I add an Object3D to another Object3D ("add" method) the child changes its transform depending on parent's one. Is there a way to keep position/rotation/scale of the child after adding it to a parent? Fiddle:…
Dmitry
  • 543
  • 2
  • 5
  • 20
1
vote
1 answer

Sharepoint re-parenting

Is it possible to re-parent a subsite in Sharepoint from 1 site collection to another?
tousle
  • 110
  • 1
  • 1
  • 7
1
vote
1 answer

Set parent for first commit on git repository

We track a vendor's upstream version releases of a software product in git repositories we have set up. We make changes to this product in cloned git repositories. When a new version is released we git merge the changes into our custom repository…
Daniel Compton
  • 13,878
  • 4
  • 40
  • 60
1
vote
1 answer

Handling messages for window from other process

I'm developing a C# WPF application that reparents the main window of another application using a call to Win32 SetParent(). The handle to this out-of-process child window is wrapped by a class named FormHost which is derived from HwndHost. All is…
MK
1
2