Click here to Skip to main content
15,900,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What is wrong with this? Pin
Chris Meech26-Jun-06 4:25
Chris Meech26-Jun-06 4:25 
Questionhow we caan add files to listbox Pin
happy_ram26-Jun-06 1:18
happy_ram26-Jun-06 1:18 
AnswerRe: how we caan add files to listbox Pin
Hamid_RT26-Jun-06 1:25
Hamid_RT26-Jun-06 1:25 
GeneralRe: how we caan add files to listbox Pin
happy_ram26-Jun-06 1:34
happy_ram26-Jun-06 1:34 
AnswerRe: how we caan add files to listbox Pin
Sarath C26-Jun-06 1:31
Sarath C26-Jun-06 1:31 
AnswerRe: how we caan add files to listbox Pin
Sarath C26-Jun-06 1:33
Sarath C26-Jun-06 1:33 
GeneralRe: how we caan add files to listbox Pin
Sarath C26-Jun-06 1:34
Sarath C26-Jun-06 1:34 
GeneralRe: how we caan add files to listbox Pin
happy_ram26-Jun-06 1:46
happy_ram26-Jun-06 1:46 
first of all i add the files using follwing code
	POSITION currPos;


	char strFilter[] = { "Mp3 files (*.mp3)|*.mp3|All Files (*.*)|*.*||" };

	CFileDialog avi(TRUE, ".mp3",NULL,OFN_ALLOWMULTISELECT | OFN_HIDEREADONLY, strFilter);

    char drive[_MAX_DRIVE], middle[_MAX_PATH], filename[_MAX_FNAME], ext[_MAX_EXT];


     if(avi.DoModal() == IDOK)
	 { 

   currPos = avi.GetStartPosition();

     while(currPos != NULL)            
					
	 {
  m_SongName = avi.GetNextPathName(currPos);
_splitpath (m_SongName, drive, middle, filename, ext);
m_list7.AddString(m_SongName);  

so tell atleast what modufication i should do to ad folder
GeneralRe: how we caan add files to listbox Pin
Sarath C26-Jun-06 2:07
Sarath C26-Jun-06 2:07 
GeneralRe: how we caan add files to listbox Pin
happy_ram26-Jun-06 2:11
happy_ram26-Jun-06 2:11 
GeneralRe: how we caan add files to listbox Pin
Naveen26-Jun-06 2:23
Naveen26-Jun-06 2:23 
GeneralRe: how we caan add files to listbox Pin
Sarath C26-Jun-06 2:27
Sarath C26-Jun-06 2:27 
GeneralRe: how we caan add files to listbox Pin
vasusree26-Jun-06 3:03
vasusree26-Jun-06 3:03 
GeneralRe: how we caan add files to listbox Pin
Sarath C26-Jun-06 3:49
Sarath C26-Jun-06 3:49 
GeneralRe: how we caan add files to listbox Pin
Sarath C26-Jun-06 3:50
Sarath C26-Jun-06 3:50 
Questionfunction WM_ERASEBKGND Pin
yogendra kaushik26-Jun-06 1:16
yogendra kaushik26-Jun-06 1:16 
AnswerRe: function WM_ERASEBKGND Pin
Sarath C26-Jun-06 1:23
Sarath C26-Jun-06 1:23 
GeneralRe: function WM_ERASEBKGND Pin
yogendra kaushik26-Jun-06 1:31
yogendra kaushik26-Jun-06 1:31 
GeneralRe: function WM_ERASEBKGND Pin
Sarath C26-Jun-06 1:35
Sarath C26-Jun-06 1:35 
GeneralRe: function WM_ERASEBKGND Pin
yogendra kaushik26-Jun-06 1:38
yogendra kaushik26-Jun-06 1:38 
GeneralRe: function WM_ERASEBKGND Pin
Sarath C26-Jun-06 2:45
Sarath C26-Jun-06 2:45 
GeneralRe: function WM_ERASEBKGND Pin
Hamid_RT26-Jun-06 1:43
Hamid_RT26-Jun-06 1:43 
AnswerRe: function WM_ERASEBKGND Pin
ovidiucucu26-Jun-06 2:11
ovidiucucu26-Jun-06 2:11 
AnswerRe: function WM_ERASEBKGND Pin
Viorel.26-Jun-06 1:46
Viorel.26-Jun-06 1:46 
Questionclient connection failure! Pin
raserove26-Jun-06 1:16
raserove26-Jun-06 1:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.