|
-
Jan 7th, 2002, 01:21 PM
#1
DlgDirList
Does any one have an example of code on how to use DlgDirList?
Many thanks.
Greg
-
Jan 8th, 2002, 08:28 AM
#2
Assuming I have a dialog hDlg with the list box ID_DIRLB:
Code:
if(!DlgDirList(hDlg, TEXT("c:\\windows\\*.exe"), ID_DIRLB, 0, DDL_READWRITE | DDL_READONLY))
{ // handle error
}
This will fill the list box ID_DIRLB with all exe files that are readonly or readwrite from the windows directory. In reality, you should use the API to retrieve the windows path.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 8th, 2002, 09:44 AM
#3
Thank you.
Thank you Corned Bee, I will try this as soon as I can.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|