Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problem embedding native windows.
Problem embedding native windows. [message #545463] Wed, 07 July 2010 17:14
Lucas Anselmo is currently offline Lucas Anselmo
Messages: 1
Registered: July 2009
Junior Member
Hi guys,

I am facing a problem in embedding and unembedding native windows in a SWT composite.

I am using an Composite with SWT.EMBEDDED.

In Windows after umbed and unembed a native window sing OS.setParent , I am able to dispose the composite without problems. The native window stills open in the system.

But, in Linux I´ve used a JNI calls to XReparentWindow to perform the embed and unembed .
After unembed a native window, reparenting it to X11 hierarchy, If I dispose the composite, even it not being anymore the parent of native window, the native window is closed.

Anyone can help me with this issue? Is it any SWT bug?
Thanks is advance.

Lucas.

Previous Topic:Re: Transparent FormText
Next Topic:Setting the size of an empty Text widget
Goto Forum:
  


Current Time: Thu Jul 24 19:14:58 EDT 2014

Powered by FUDForum. Page generated in 0.01840 seconds