home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / openloo / 3739 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  1.2 KB

  1. Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!sun-barr!ames!olivea!gossip.pyramid.com!pyramid!unify!openlook!openlook-request
  2. From: fgreco@fis1026.shearson.com (Frank Greco)
  3. Newsgroups: comp.windows.open-look
  4. Subject: Re: Scrolling list
  5. Message-ID: <ozue1gp@openlook.Unify.Com>
  6. Date: 4 Sep 92 16:20:05 GMT
  7. Sender: news@Unify.Com
  8. Lines: 21
  9.  
  10. > I am trying to create a GUI based on XView using DevGuide. The GUI I am
  11. > writing contains a scrolling PANEL_LIST which should work very similar
  12. > to the one in the DevGuide Load Popup window.
  13. > For example, double clicking on an item representing a directory should
  14. > cause the 'loader' to cd to that directory. 
  15. > My question might be a very basic one but how do I implement selection
  16. > on double-clicking using XView?
  17.  
  18.     If you have Devguide 3.0, look in the Devguide/XView manual
  19.     on page 55 "File Chooser".  It's an object that is already
  20.     built for you.
  21.  
  22.     If you just want the dbl-click routine, the src is there too.
  23.  
  24.     But be forewarned that it isn't 100% correct.  See Tank's
  25.     recent post about panel-list and dbl-clicking, the gist being
  26.     that panel-list has to handle dbl-click internally and not
  27.     in the notify proc.
  28.  
  29.     Frank G.
  30. =-=-=-=-=-=-=-=-=-=
  31.