Path: utzoo!attcan!uunet!lll-winken!xanth!nic.MR.NET!csd4.milw.wisc.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!bloom-beacon!ATHENA.MIT.EDU!kit From: kit@ATHENA.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Univeral invalid XID Message-ID: <8902091655.AA02612@DORA.MIT.EDU> Date: 9 Feb 89 16:55:18 GMT References: <8902091457.AA25539@dinorah.wustl.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 23 > In X.h "None" is #define'd to 0L with the > comment "universal null resource or null atom". Does that mean I can > do something like > if (win == None) > win = XCreateSimpleWindow(...); Yep, this will work just fine. You must have a line like this above the conditional, of course. Window win = None; Chris D. Peterson MIT X Consortium / Project Athena Net: kit@athena.mit.edu Phone: (617) 253 - 1326 USMail: MIT - Room E40-321 77 Massachusetts Ave. Cambridge, MA 02139