Questions tagged [setparent]

SetParent is a window-handling function of the Microsoft Windows API. It is used to change the parent window of a given window.

SetParent is a window-handling function of the Microsoft Windows API. It is used to change the parent window of a given window.

53 questions
0
votes
1 answer

strange behavior of child windows after setParent

I tried to embedded "Windows Journal" application in my Winform application by using following code. It works and everything looks good. However, when I start using Windows Journal application, which is already a child window of my application, I…
Miranda
  • 1
  • 2
0
votes
1 answer

The call is ambiguous: FindWindow(String, String);

I am using this code: IntPtr hwndf = this.Handle; IntPtr hwndParent = FindWindow("ProgMan.exe", null); SetParent(hwndf, hwndParent); However I get an error. The error says : The call is ambiguous between the following methods or properties: …
Layne Wapp
  • 43
  • 11
0
votes
1 answer

Outlook: How to SetParent(_form.Handle, Outlook.Handle) without Paint issues?

I would like to set the top level window handle of Outlook to be the parent of a Settings form in my add-in (so it appears on top, stays in Outlook, etc). Using SetParent in other Office apps works fine, but in Outlook I get rendering errors. The…
Adam A
  • 14,469
  • 6
  • 30
  • 38
0
votes
3 answers

SetParent COM and WPF

I have two screens. one created in vb and the second is in WPF. I must embed the vb inside the wpf. Therefore i had an idea to firstly create a new Windows Form's form, and to use win32 API function "SetParent" in order to embed the vb screen…
Neria
-1
votes
1 answer

How to undock Game Window for SetParent

Hello everyone. [DllImport("user32.dll")] public static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent); public void DockAllNote(System.Windows.Forms.Panel panel) { Process[] MultiClients =…
ÖMER
  • 15
  • 6
-1
votes
1 answer

How can I integrate BingMaps into WPF Window?

I want to integrate the BingMaps App from Win10 into my CarPC solution. I tried different things without getting it to work. My first approach was to use start the Process and set it into my Application like that: p = new Process(); p.StartInfo =…
CPH
  • 1
  • 2
-1
votes
1 answer

How can I take over, another running application within a panel of my C# program?

What i'm trying to do is to take over another running application and attach it to a panel in my Form, somthing like this: private void button1_Click(object sender, EventArgs e) { Process p = Process.Start("notepad.exe"); …
Dan Burdetsky
  • 101
  • 2
  • 8
-3
votes
1 answer

How to set the parent of jDialog in netbeans?

I'm pretty confused about this, since I haven't been working with jdialogs so far...
Bugster
  • 1,552
  • 8
  • 34
  • 56
1 2 3
4