> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf > Of Robert Collins > Sent: Monday, April 08, 2002 10:13 AM > To: [EMAIL PROTECTED] > Subject: rootless mode > > > I've been thinking about rootless mode. > > Here's my current thoughts: > > 1) We create a real win32 window for each X window. > 2) We use SetWindowLong to store the X window > pointer in the WIN32 > struct, so that when a message arrives to that > windowclass's WindowProc, > we can lookup the X window the message belongs to. > 3) We use WindowPrivates to store the WIN32 > related window HANDLE and > other gunk.
It may be that you already know this, but do you have seen the links about the ntxlib (and perhaps the libw11 project) on http://kde-cygwin.sourceforge.net/. The rxvt port is based on this stuff. There is a basic implementation of creating windows within a x client lib. Perhaps you can use it for your goal. Regards Ralf