|Problem embedding native windows. [message #545463]
||Wed, 07 July 2010 21:14
| Lucas Anselmo
Registered: July 2009
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.
Powered by FUDForum
. Page generated in 0.03732 seconds