home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / windows / openloo / 4392 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.5 KB  |  42 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!gumby!smaug!frodo!jipping
  3. From: jipping@cs.hope.edu (Mike Jipping)
  4. Subject: Notice-Like Dialog Boxes
  5. Message-ID: <1992Nov6.122940.19461@cs.hope.edu>
  6. Sender: news@cs.hope.edu
  7. Reply-To: jipping@cs.hope.edu
  8. Organization: Hope College
  9. Date: Fri, 6 Nov 1992 12:29:40 GMT
  10. Lines: 30
  11.  
  12. I need a dialog box -- a response-based popup window, like a Notice, that includes
  13. text as well as button response.  I'd like to do this like below:
  14.  
  15.      x := x + 2;  /* or whatever */
  16.      fname = get_file_name();
  17.   
  18.        -----------------------------> char *get_file_name() {
  19.        ----------------------------->     xv_create(.......
  20.        ----------------------------->               .......
  21.        ----------------------------->               0);
  22.        ----------------------------->     return (char *)xv_get(...)
  23.        ----------------------------->  }
  24.        
  25. In other words, instead of splitting the functionality of the caller into two 
  26. pieces -- the caller, then the second half activated as a NOTIFY_PROC -- I would
  27. like to get a response in one procedure call.
  28.  
  29. The Notice package does this.  Has anyone done anything like a dialog box that 
  30. acts like a Notice?
  31.  
  32.       Mike Jipping
  33.       Hope College Department of Computer Science
  34.       jipping@cs.hope.edu  (BITNET: JIPPING@HOPE)
  35.  
  36.       "He just bought a toupee.  Now my father looks like he's
  37.        balancing a roadkill on the top of his head!"
  38.  
  39.                                -- Vinnie, "Doogie Howser, M.D."
  40.  
  41.  
  42.