|
-
October 25th, 1999, 06:28 PM
#1
Directory Folders
How would I go about displaying folder names of the C Drive in a CComboBox.
I have been looking around for hours and have found no help.
Thanks
-
October 31st, 1999, 07:56 PM
#2
Re: Directory Folders
Not clear.
Two issues here and i m not sure which one you are having proble with.
Is it populating the combobox?
m_pCombo = new CComboBox();
m_pCombo->SubclassDlgItem(IDC_COMBO , this);
...
for(all your elements of i)
m_pCombo->AddString(szdir[i]);
...
//and to see which row has been selected
int index=m_pCombo->GetCurSel();
or is it fetching the Directory names?
then you need to explain more ..........
Using Java version on windows 1.8_51
-
October 31st, 1999, 07:58 PM
#3
Re: Directory Folders
Not clear.
Two issues here and i m not sure which one you are having proble with.
Is it populating the combobox?
m_pCombo = new CComboBox();
m_pCombo->SubclassDlgItem(IDC_COMBO , this);
for(all your elements of i)
m_pCombo->AddString(szdir[i]);
/*and to see which row has been selected*/
int index=m_pCombo->GetCurSel();
or is it fetching the Directory names?
then you need to explain more
[/ccode]
Using Java version on windows 1.8_51
-
November 1st, 1999, 11:32 AM
#4
Re: Directory Folders
Try looking at DlgDirList, not quite a combo box but close.
Regards,
James.
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
|