home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!howland.reston.ans.net!spool.mu.edu!agate!ucbvax!TGV.COM!mahan
- From: mahan@TGV.COM (Patrick L. Mahan)
- Newsgroups: comp.os.vms
- Subject: Re: DECWindow application problem, help please!
- Message-ID: <930112131111.216002af@TGV.COM>
- Date: 12 Jan 93 21:11:11 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 41
-
- In article <1993Jan11.184745.12118@proton.llumc.edu> you write:
- #
- #Environment:
- #VAX4200, VMS 5.5
- #
- #Problem:
- #I have an application built on DECWindow. One special case is
- # a contiguous pop-up windows to get user's inputs
- # (the 1st pop-up window will dismiss after user's keyboard input,
- # the 2nd pop-up window then comes up, get user's input then dismiss,
- # the 3rd one does the same as the 2nd one
- # .... until all required inputs are completed)
- #
- #The mouse pointer are RANDOMLY lost in those pop-up window. The later
- #pop-up window, the higher possibility to lose the mouse pointer.
- #I have to point and click to get the input to that pop-up window to activate
- #the keyboard input. It seems the pointer have not been handled correctly
- #in my application. But I can not find anything wrong. One strange result
- #is, if I set the DISPLAY to a SUN SPARCstation 2 OpenWindow 3.0 environment,
- #then I do not have this problem.
- #
- #Could anyone give me suggestions? Is this a bug of DECWindow library?
- #
-
-
- It is not a bug of the DECwindows library but a feature of the Window Manager.
- Your problem is that Input Focus is not moving the way you want it to go. One
- way to overcome this is to explicitly grab input focus yourself using the
- call XSetInputFocus(). The other is to change to a window manager that lets
- the user control the keyboard focus policy.
-
- ---
- Patrick L. Mahan
-
- --- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
-
- Waking a person unnecessarily should not be considered - Lazarus Long
- a capital crime. For a first offense, that is From the Notebooks of
- Lazarus Long
-
-
-