From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,a6574a4b55a96f01,start X-Google-Attributes: gid103734,public X-Google-Thread: 1164f8,a6574a4b55a96f01,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b6ac,a6574a4b55a96f01,start X-Google-Attributes: gid10b6ac,public From: Christopher Gee Subject: using non-default visual with drawing area Date: 1999/07/12 Message-ID: <378A489F.ACE363C6@nospamboeing.com>#1/1 X-Deja-AN: 500231429 Content-Transfer-Encoding: 7bit Sender: nntp@news.boeing.com (Boeing NNTP News Access) X-Nntp-Posting-Host: abldec16.ds.boeing.com Organization: The Boeing Company Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.windows.x.motif,comp.windows.x,comp.sys.dec Hi - I'm using a DEC Alpha System with Unix 4.0D, Motif 1.2, X11R6. I know that the graphics card I have supports an overlay layer. What I'm having trouble with is finding examples / documentation about how to use a different visual for an xmDrawingArea (in other words, I need help getting out of the gate). In my application, I want to have two drawing areas (one on top of the other), with the uppermost one in the overlay layer so it's transparent and capturing all the events. That leaves complex drawing to the lower layer. The lower drawing area will have the default visual and colormap, while the upper drawing area should have a different visual (for the overlay layer). Can I have two drawing area widgets, with the same parent, have the different visuals? If they aren't attached to the same parent, it'll be harder to have them aligned over each other. Any suggestions / advice would be appreciated. Thanks.