Path: utzoo!attcan!uunet!mcsun!ukc!slxsys!bae-st!mike From: mike@ste.dyn.bae.co.uk (Mike Heley) Newsgroups: comp.windows.x Subject: Re: XView XV_KEY_DATA problem Message-ID: <1990Sep18.083434.19736@ste.dyn.bae.co.uk> Date: 18 Sep 90 08:34:34 GMT Reply-To: mike@ste.dyn.bae.co.uk (Mike Heley) Organization: British Aerospace (Dynamics), Stevenage Lines: 27 > I just ran into a problem with XView's XV_KEY_DATA attribute. It seems > the XView toolkit attaches data to some of the object it creates. > This is fine until you happen to choose the same key as the toolkit. > I attached a pointer with KEY=1 to a panel which is what XView uses to > attach the panel's private structure. I also hit this problem on moving code from XView 1.0.1 to XView 2.0. This code makes extensive use of the XV_KEY_DATA attribute on most of the objects in XView. The keys started off at 1. I found that the panel object in XView 2.0 merrily overwrites your valuable data at KEY=1. > Does anyone know what keys are taken by XView and should therefore be > avoided. I could not find a list in the XView Programming Manual from > O'Reilly & Associates. Naahhh! Surely it should just have a bug id! I thought this was for me to use, not Sun. -- Mike Heley mike@ste.dyn.bae.co.uk British Aerospace Dynamics +44 438 752432 Stevenage, UK "Schizophrenic? I'm bleedin' Quadrophenic!" - The Who, 1973. --