Path: utzoo!attcan!uunet!wuarchive!cs.utexas.edu!oakhill!dover!cowan From: cowan@dover.sps.mot.com (Andrew H Cowan) Newsgroups: comp.windows.x Subject: Help needed mixing Xlib & Athena widgets. Message-ID: <2436@dover.sps.mot.com> Date: 22 Oct 90 19:29:52 GMT Reply-To: cowan@soleil.sps.mot.com.UUCP (Andrew H Cowan) Distribution: na Organization: Motorola, Chandler, AZ Lines: 26 Can anyone out there tell me what I'm doing wrong in the following code? I'm trying to create a window within (beneath ?) an Athena Viewport widget that I can use to draw text & graphics. When I try to create an Xlib "SimpleWindow" with the previously create Athena Viewport widget as the parent I get this error: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 1 (X_CreateWindow) Resource id in failed request: 0x0 Serial number of failed request: 5 Current serial number in output stream: 17 What am I doing wrong? -AC ** / \ ** ** ** | | ** ** ** ** \___/ ** ** ******** ** ** ****** __ ** **** ** \_/oo\_/ **** ** ........**..........\||/................****.........**........... Andy Cowan...........||.............cowan@soleil.sps.mot.com......