[comp.windows.x.motif] Forcing pointer and keyboard focus

rossperr@sud509.ed.ray.com (Fred Ross-Perry) (08/27/90)

Help.

This is really a DECWindows question, but it seems appropriate to 
ask it here.

I'm a novice windows programmer, and have written a small program that
puts a window on the display with a simple text widget and a button.  This
all works fine.

The question is, I want to force the display pointer and keyboard to this
window until the program is done with the window.  What's the best way
to do this?