Path: utzoo!attcan!uunet!mailrus!tut.cis.ohio-state.edu!quanta.eng.ohio-state.edu!kcgl1.eng.ohio-state.edu!DAVISM From: DAVISM@kcgl1.eng.ohio-state.edu (Michael T. Davis) Newsgroups: comp.windows.x Subject: Two simple user interfaces wanted Message-ID: <5073@quanta.eng.ohio-state.edu> Date: 6 Jun 90 04:52:28 GMT Sender: news@quanta.eng.ohio-state.edu Organization: Ohio State University Lines: 44 I am modifying a program to be more user friendly under X (actually DECwindows 2.0 under VMS 5.3-1, but since I'm writing with "pure" Xlib, it should be pretty much the same). Before I go off and possibly re-invent the wheel, I was wondering if anyone had a couple of Xlib-based routines to perform the following: 1) Given/passed a character string, display the string and two push-buttons labelled "Yes" and "No"; for example: +--------------+ | Do you wish | | to continue? | | +---+ +--+ | | |Yes| |No| | | +---+ +--+ | +--------------+ 2) Given/passed a character string, display the string, a text entry field and two push-buttons labelled "OK" and "Cancel"; for example: +------------------------+ | Please enter filename: | | | | |________________ | | +--+ +------+ | | |OK| |Cancel| | | +--+ +------+ | +------------------------+ Please reply directly to me. If there's enough interest, I'll summarize. Thanks, Mike ________________________________________________________________________ | InterNet> davism@{kcgl1.eng|rcgl1.eng|osu-20.ircc}.ohio-state.edu | | -or- | | davis-m@eng.ohio-state.edu | | CompuServe> 73667,541 | |************************************************************************| | These thoughts, they be mine | ------------------------------------------------------------------------