galneweinhaw
asked on
How to fill a List View Control using DlgDirList or DlgDirListComboBox?
How do I fill a List View Control using DlgDirList or DlgDirListComboBox?
I can fill a list box with this:
char szPath [255] = {"c:\\"};
int nResult = DlgDirList(szPath,IDC_LIST ,IDC_DIREC TORY,DDL_D RIVES | DDL_DIRECTORY);
Can I do the same with a list view control?
thanks
I can fill a list box with this:
char szPath [255] = {"c:\\"};
int nResult = DlgDirList(szPath,IDC_LIST
Can I do the same with a list view control?
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Have a list or combo that is hidden. Fill that as you posted above. Then loop throught the contents, get the string and use that as the item to insert into the list control.