| View previous topic :: View next topic |
| Author |
Message |
manuguy General User

Joined: 25 Nov 2004 Posts: 38 Location: Massy - FRANCE
|
Posted: Fri Jan 07, 2005 9:17 am Post subject: How to obtain a long for a XWindow? |
|
|
Hello,
For the X11DropTarget, the API says that :
"a long that contains a XWindow window" must be used as a second parameter
for XInitialization.
Does anybody know how to obtain this long?
Thanks in advance. |
|
| Back to top |
|
 |
DannyB Moderator


Joined: 02 Apr 2003 Posts: 3991 Location: Lawrence, Kansas, USA
|
|
| Back to top |
|
 |
manuguy General User

Joined: 25 Nov 2004 Posts: 38 Location: Massy - FRANCE
|
Posted: Mon Jan 10, 2005 2:10 am Post subject: |
|
|
Hi,
Thanks for your help.
I already looked at your links in the API. The problem is that
SYSTEMDEPENDENT is deprecated and when I use it,
it crashes my program.
I work with Linux, in C++.
My goal is to use Drag and Drop in C++ (see my other posts).
I want to use a X11DropTarget to add a drop listener, and in the API,
it seems that I need a long for a XWindow to initialize it.
Regards. |
|
| Back to top |
|
 |
|