[comp.sys.apple2] Dialog woes

dat33228@uxa.cso.uiuc.edu (Derek A. Taubert) (04/16/91)

Is it possible to put a pop-up window in a dialog box (ie: the custom stdfile
items)?  This has become a problem, and since the TBR's don't say much of
anything about userCtlItem2, I'm sort of stuck.

Thanx for your time...

--
+ Derek Taubert --> derek@mrcnext.cso.uiuc.edu + Author of : GScii	      +
+		    dat33228@uxa.cso.uiuc.edu  + {MUCH more to come...}	      +
+ "Well, ...lettuce is a transformation of a dead cougar that suffered a      +
+ relapse on a lion's toe.  And he swallowed the lion and something happened. +
+ The ...see, the ...Gloria and Tommy, they're two heads and they're not      +
+ whales.  But they escaped with herds of vomit, and things like that."	      +

dlyons@Apple.COM (David A. Lyons) (04/16/91)

In article <1991Apr16.033112.10455@ux1.cso.uiuc.edu> dat33228@uxa.cso.uiuc.edu (Derek A. Taubert) writes:
>Is it possible to put a pop-up window in a dialog box (ie: the custom stdfile
>items)?  This has become a problem, and since the TBR's don't say much of
>anything about userCtlItem2, I'm sort of stuck.
>
>Thanx for your time...

There's no mechanism for putting an extended control (like a pop-up menu
control) into a Standard File dialog, but you *can* put a userItem in
there which you manuall draw to -look- just like a pop-up control.  When
the user clicks on it, you can call PopUpMenuSelect and give it a menu
(which is what the pop-up control defproc would have done anyway), and
the user will never know the difference.

-- 
David A. Lyons, Apple Computer, Inc.      |   DAL Systems
Apple II System Software Engineer         |   P.O. Box 875
America Online: Dave Lyons                |   Cupertino, CA 95015-0875
GEnie: D.LYONS2 or DAVE.LYONS         CompuServe: 72177,3233
Internet/BITNET:  dlyons@apple.com    UUCP:  ...!ames!apple!dlyons
   
My opinions are my own, not Apple's.