Path: utzoo!attcan!uunet!cs.utexas.edu!yale!mintaka!bloom-beacon!WINTERMUTE.FULLERTON.EDU!wing From: wing@WINTERMUTE.FULLERTON.EDU (Michael Wing) Newsgroups: comp.windows.x Subject: (none) Message-ID: <9011112149.AA00740@wintermute.fullerton.edu> Date: 11 Nov 90 21:49:02 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 47 I am writing a X windows application on a sun 4 running X11R4 with motif as my mwindow manager. The problem I am having is this. When I call XmMainWindowSetAreas(main, m_bar, command_area, NULL, NULL, draw_area) the area for the command widget showes up between the draw_area and the menu bar but the children of the command area show up in the draw area. The space between the menu bar and the draw area expands properly accoding to how many children the command area has. The window comes out something like this ___________________________________________________________________________ |-| title |o|O| |_________________________________________________________________________| | menu bar | |-------------------------------------------------------------------------| | | | (command area and its children should be here) | | | |_________________________________________________________________________| |///////////////////////////////////////////////////////////////////////| | |///////////////////// draw area ///////////////////////////////////////| | |-----------------------------------------------------------------------|s| | Command area widgets show up down here. |c| | |r| | |o| |_______________________________________________________________________|l| |///////////////////////////////////////////////////////////////////////|l| |///////////////////// draw area ///////////////////////////////////////| | |///////////////////////////////////////////////////////////////////////|b| |///////////////////////////////////////////////////////////////////////|a| |///////////////////////////////////////////////////////////////////////|r| |///////////////////////////////////////////////////////////////////////| | |///////////////////////////////////////////////////////////////////////| | |///////////////////////////////////////////////////////////////////////| | |///////////////////////////////////////////////////////////////////////| | |///////////////////////////////////////////////////////////////////////| | |///////////////////////////////////////////////////////////////////////| | |///////////////////////////////////////////////////////////////////////| | |///////////////////////////////////////////////////////////////////////| | |_______________________________________________________________________|_| | scroll bar | | |-------------------------------------------------------------------------- When the window is scrolled the image moves around just find except that the command area widgets are going right through the area. Any ideas why this is happening would be helpfull Thanks Mike Wing wing@wintermute.fullerton.edu