[comp.windows.x] Standard XView file dialog????

kbj@JUPITER.RISC.COM (Ken Johnson) (10/20/90)

I'd like to know if anyone has a procedure that implements an advanced
open/save file dialog.  I got a few suggestions to check some XView examples
but haven't actually been able to the file dialog code.  It appears to be
burried in the textsw object itself.  Any help will save me several days of
work.

Thanks

Ken Johnson                             Phone: 805-373-4487
Rockwell International Science Center   Comnet: 273-4487
1049 Camino Dos Rios A-18               e-mail: kbj@risc.com
Thousand Oaks, CA 91360

       If enough data is collected
                     anything may be proven by statistical methods....

cflatter@ZIA.AOC.NRAO.EDU (Chris Flatters) (10/22/90)

Ken Johnson writes:

> I'd like to know if anyone has a procedure that implements an advanced
> open/save file dialog.  I got a few suggestions to check some XView examples
> but haven't actually been able to the file dialog code.  It appears to be
> burried in the textsw object itself.  Any help will save me several days of
> work.

The code for the textsw load/save file popups are in

          xview2/lib/libxvol/text/txt_popup.c
          xview2/lib/libxvol/text/txt_load.c
          xview2/lib/libxvol/text/txt_save.c

The code for the panel layouts is in the last two files. These will get
you most of the way there; txt_popup.c will probably confuse more than it
helps.

			Chris Flatters