www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/19/15:57:39

From: giuans AT netcafe DOT interbusiness DOT it (Giovanni Lopedote)
Newsgroups: comp.os.msdos.djgpp
Subject: HELP! Code needed!
Date: Wed, 19 Feb 1997 18:39:18 GMT
Organization: Centro Servizi Interbusiness
Lines: 27
Message-ID: <330b3934.7476405@news.interbusiness.it>
NNTP-Posting-Host: 151.99.160.16
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi everyone!

I need code for a file selection function using DJGPP and conio.h. It
should display a window for selecting a file. Its prototype should be
something like this:

char *fselect(char *startpath,char *ext, int x1, int y1)

where:
startpath=the name of the path to start with
ext=the standard extensiin for filenames
x1,y1=coordinates of the upper left corner of the window.

Return value=the name of the file selected (full path) or NULL if user
cancelled the operation.

No mouse support needed. It should work also in text mode 80x50.

I'd use some windowing library (maybe TurboVision or SWORD) if I knew
a bit of C++. But, I don't have had time to learn it.

Thank you for help.

Sorry for my poor english.

Giovanni Lopedote
giuans AT netcafe DOT interbusiness DOT it

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019