January 19th, 2011, 11:18 AM
CListCrtl playing MP3s
For my grade 12 summative project, I decided that I wanted to make an mp3/wma player. At the moment, I have the basics(play, stop with a browse function).
I would like to list all of my mp3s and wmas from a fixed folder in the list control, and by clicking a song and then play, would play the song selected.
I tried to use insert item:
but it just inserted a string. I have only had minimal class time using MFC functions and codes, but I would really like to be able to do this.
Also, is there any way to reposition this:
I want to make it near the bottom of the screen, but it always shows up at the top.
m_Timer = NULL;
if(m_Timer == NULL)
m_Timer = MCIWndCreate(this->GetSafeHwnd(),
WS_CHILD | WS_BORDER|WS_VISIBLE|MCIWNDF_NOMENU|MCIWNDF_SHOWNAME,m_Path);
I dont neccicarily need code written, but if someone can explain to me what I would need to do or even functions to try, that would be wonderful.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!