home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / windows / openloo / 4820 < prev    next >
Encoding:
Text File  |  1992-12-14  |  648 b   |  22 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!news.edu.tw!sparc4.ncu.edu.tw!ba!u438813
  3. From: u438813@ba.ncu.edu.tw (Lin Wei-Ting)
  4. Subject: Let the pointer still in a window.
  5. Message-ID: <1992Dec14.124914.24730@sparc4.ncu.edu.tw>
  6. Sender: news@sparc4.ncu.edu.tw
  7. Reply-To: u438813@ba.ncu.edu.tw
  8. Organization: Sun Microsystems, Inc.
  9. Date: Mon, 14 Dec 1992 12:49:14 GMT
  10. Lines: 10
  11.  
  12. I want the pointer still in a window.
  13. I tried to do this.
  14.     if(event_action(event) == LOC_WINEXIT)
  15.         {
  16.         x=event_x(event);
  17.         y=event_y(event);
  18.         XWarpPointer(theDisplay,None,xwin,0,0,0,0,x,y);
  19. But it cannot work.
  20. How to do ?
  21.  
  22.