Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Please help!

flyerflyer Member Posts: 18
I`m making a listbox in a dialogbox and I want the listbox to show files from a directory in the listbox so I can choose multiple files in the Listbox and in my program I want to get the selections and edit the files. The function I have seen for the list box is DlgDirList() to show the file, but how can I get all the selections as file names (strings) so that I can edit the files using C++ I/O or Win 32 functions.

thank you

Comments

  • AsmGuru62AsmGuru62 Member Posts: 6,519
    : I`m making a listbox in a dialogbox and I want the listbox to show files from a directory in the listbox so I can choose multiple files in the Listbox and in my program I want to get the selections and edit the files. The function I have seen for the list box is DlgDirList() to show the file, but how can I get all the selections as file names (strings) so that I can edit the files using C++ I/O or Win 32 functions.
    :
    : thank you
    :
    [blue]The question is not clear - just send LB_GETTEXT message to a list box and retrieve the file name as a string, so you can open it and edit it... or did you want something else?[/blue]
  • Justin BibJustin Bib USAMember Posts: 0

    _ ( http://forcoder.org ) free video tutorials and ebooks about ( Ruby, Visual Basic .NET, Scratch, PL/SQL, Assembly, MATLAB, Swift, C++, Visual Basic, Objective-C, Python, Perl, Delphi, C, PHP, Java, Go, C#, JavaScript, R D, Rust, Lua, Lisp, Kotlin, Fortran, Julia, COBOL, F#, Hack, Scheme, SAS, Clojure, Awk, Logo, Ada, Erlang, VBScript, Alice, Prolog, Transact-SQL, Crystal, Bash, FoxPro, ML, ABAP, Dart, LabVIEW, Apex, Scala ) _________

Sign In or Register to comment.