home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.open-look
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!gumby!smaug!frodo!jipping
- From: jipping@cs.hope.edu (Mike Jipping)
- Subject: Notice-Like Dialog Boxes
- Message-ID: <1992Nov6.122940.19461@cs.hope.edu>
- Sender: news@cs.hope.edu
- Reply-To: jipping@cs.hope.edu
- Organization: Hope College
- Date: Fri, 6 Nov 1992 12:29:40 GMT
- Lines: 30
-
- I need a dialog box -- a response-based popup window, like a Notice, that includes
- text as well as button response. I'd like to do this like below:
-
- x := x + 2; /* or whatever */
- fname = get_file_name();
-
- -----------------------------> char *get_file_name() {
- -----------------------------> xv_create(.......
- -----------------------------> .......
- -----------------------------> 0);
- -----------------------------> return (char *)xv_get(...)
- -----------------------------> }
-
- In other words, instead of splitting the functionality of the caller into two
- pieces -- the caller, then the second half activated as a NOTIFY_PROC -- I would
- like to get a response in one procedure call.
-
- The Notice package does this. Has anyone done anything like a dialog box that
- acts like a Notice?
-
- Mike Jipping
- Hope College Department of Computer Science
- jipping@cs.hope.edu (BITNET: JIPPING@HOPE)
-
- "He just bought a toupee. Now my father looks like he's
- balancing a roadkill on the top of his head!"
-
- -- Vinnie, "Doogie Howser, M.D."
-
-
-