home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20831 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  2.0 KB

  1. Path: sparky!uunet!usc!howland.reston.ans.net!spool.mu.edu!agate!ucbvax!TGV.COM!mahan
  2. From: mahan@TGV.COM (Patrick L. Mahan)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: DECWindow application problem, help please!
  5. Message-ID: <930112131111.216002af@TGV.COM>
  6. Date: 12 Jan 93 21:11:11 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 41
  11.  
  12. In article <1993Jan11.184745.12118@proton.llumc.edu> you write:
  13. #
  14. #Environment:
  15. #VAX4200, VMS 5.5
  16. #
  17. #Problem:
  18. #I have an application built on DECWindow. One special case is
  19. #    a contiguous pop-up windows to get user's inputs
  20. #    (the 1st pop-up window will dismiss after user's keyboard input,
  21. #     the 2nd pop-up window then comes up, get user's input then dismiss,
  22. #     the 3rd one does the same as the 2nd one
  23. #     .... until all required inputs are completed)
  24. #    
  25. #The mouse pointer are RANDOMLY lost in those pop-up window. The later 
  26. #pop-up window, the higher possibility to lose the mouse pointer.
  27. #I have to point and click to get the input to that pop-up window to activate 
  28. #the keyboard input. It seems the pointer have not been handled correctly
  29. #in my application. But I can not find anything wrong. One strange result
  30. #is, if I set the DISPLAY to a SUN SPARCstation 2 OpenWindow 3.0 environment,
  31. #then I do not have this problem.
  32. #
  33. #Could anyone give me suggestions? Is this a bug of DECWindow library?
  34. #
  35.  
  36.  
  37. It is not a bug of the DECwindows library but a feature of the Window Manager.
  38. Your problem is that Input Focus is not moving the way you want it to go.  One
  39. way to overcome this is to explicitly grab input focus yourself using the
  40. call XSetInputFocus().  The other is to change to a window manager that lets 
  41. the user control the keyboard focus policy.
  42.  
  43. ---
  44. Patrick L. Mahan
  45.  
  46. --- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
  47.  
  48. Waking a person unnecessarily should not be considered  - Lazarus Long
  49. a capital crime.  For a first offense, that is            From the Notebooks of
  50.                               Lazarus Long
  51.  
  52.  
  53.