Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Over the past year I have found your site to be EXCELLENT. Never have I been able to find so many answers to such vast problems and it is an excellent service..."

Geography

Where in the world do Tek-Tips members come from?

Can DirListBox display more than only file name?Helpful Member! 

CUDaveS (TechnicalUser)
2 May 08 12:13
Several users have complained about the way the files are listed in the DirListBox - that is, they can't see anything other than the file name.  Is there a way to display files with their dates, type, etc?  I'd prefer to use the Windows OpenFile dialog, but have no clue how I'd do that.

Anyone have any ideas / examples / clues?

CODE

string sClaimsDir = "c:\folder\"
string sFileToSearch = "md*.*"
string sFile = "claims.txt"        

sFileFilter = ""
strcat sFilter sClaimsDir
strcat sFilter sFileToSearch
dialogbox 0 8 21 264 139 130 "  Choose a Claims File"
   dirpath 1 7 113 198 19 sClaimsDir
   dirlistbox 2 2 2 258 99 sFilter MULTIPLE sFile 1 hscroll sort
   pushbutton 3 219 104 42 14 "&Open" ok default
   pushbutton 4 218 120 44 13 "&Cancel" cancel
enddialog
Helpful Member!  knob (Programmer)
2 May 08 16:06
If you use sdlgfopen (assuming it works for your needs), then it looks more like your standard File Open dialog and the user can choose to see the details view (doesn't look like this can be set by the script).

http://www.aspectscripting.com

CUDaveS (TechnicalUser)
8 May 08 19:25
Yep, that's what I was looking for.  Thank you!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close