[comp.windows.x] Problem Realizing Multiple windows

nancie@hal.CSS.GOV (Nancie Matson) (11/28/89)

This is probably a beginners question, but I'll ask anyway.
I am writing a program that generates a pop-up menu with
scrolling features.  I have created a window and set it
up so that whenever the user clicks in the window, the
menu will "pop-up" centered at the x,y location on the screen.

The menu is comprised of several subwindows, one for the body,
one for each of the available selections and one for each of
the scrolling functions.  THe problem is that once I click
on the main window, the menu is draw, but I can't see it on
the screen.  I know that the X server does it's drawing
asynchronously, but I don't understand why I see nothing.

Also, once the user selections an item from the menu, the
item is highlighted properly and then disappears correctly,
although I can't be sure, since I never saw the menu on
the screen.  I have used dbx to step thru the process so I
know that the code is being executed.

I am using a Sun 3/110 with 4meg and OS4.0.3.  Running uwm 
with no Speedups.  Any one with any idea what I am doing, or
not doing, please feel free to either email or reply thru this
group.

Thanx in advance!!!

nancie
nancie@hal.CSS.GOV