Click here to Skip to main content
15,921,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Window not receiving all its messages Pin
Cathy3-Aug-03 13:48
Cathy3-Aug-03 13:48 
GeneralRe: Window not receiving all its messages Pin
Joe Woodbury3-Aug-03 9:14
professionalJoe Woodbury3-Aug-03 9:14 
GeneralRe: Window not receiving all its messages Pin
Marcus Spitzmiller3-Aug-03 10:37
Marcus Spitzmiller3-Aug-03 10:37 
GeneralRe: Window not receiving all its messages Pin
Joe Woodbury3-Aug-03 18:11
professionalJoe Woodbury3-Aug-03 18:11 
GeneralRe: Window not receiving all its messages Pin
Marcus Spitzmiller4-Aug-03 3:20
Marcus Spitzmiller4-Aug-03 3:20 
GeneralFlat CComboBox and CIPAddressCtr Pin
Eugene Pustovoyt3-Aug-03 5:41
Eugene Pustovoyt3-Aug-03 5:41 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
PJ Arends3-Aug-03 8:45
professionalPJ Arends3-Aug-03 8:45 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
Eugene Pustovoyt3-Aug-03 9:07
Eugene Pustovoyt3-Aug-03 9:07 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
PJ Arends3-Aug-03 9:24
professionalPJ Arends3-Aug-03 9:24 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
Eugene Pustovoyt3-Aug-03 17:52
Eugene Pustovoyt3-Aug-03 17:52 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
PJ Arends3-Aug-03 18:36
professionalPJ Arends3-Aug-03 18:36 
QuestionDetected memory leaks..Did I solve it ? Pin
Hesham Amin3-Aug-03 5:03
Hesham Amin3-Aug-03 5:03 
AnswerRe: Detected memory leaks..Did I solve it ? Pin
John R. Shaw3-Aug-03 9:55
John R. Shaw3-Aug-03 9:55 
GeneralWndProc Within a class Pin
M.Mostafa3-Aug-03 1:16
M.Mostafa3-Aug-03 1:16 
GeneralRe: WndProc Within a class Pin
S O S3-Aug-03 3:15
S O S3-Aug-03 3:15 
GeneralRe: WndProc Within a class Pin
John R. Shaw3-Aug-03 10:05
John R. Shaw3-Aug-03 10:05 
Generalgetting files and directory. Pin
Anonymous3-Aug-03 0:40
Anonymous3-Aug-03 0:40 
GeneralRe: getting files and directory. Pin
HPSI3-Aug-03 0:54
HPSI3-Aug-03 0:54 
GeneralRe: getting files and directory. Pin
Bob Stanneveld3-Aug-03 7:49
Bob Stanneveld3-Aug-03 7:49 
Hello,

You should use the CFileFind class to do the searching! Use the FindFile() method to start the search and use FindNextFile to retreive data.

exemple:
CFileFind ff;
CList<CString, CString&> dirlist;
dirlist.AddTail(_T("YourMp3Directory"));

do
{
    if(ff.FindFile(dirlist.RemoveTail()))
    {
        while(ff.FindNextFile())
        {
            if(ff.IsDirectory())
            {
                if(!ff.IsDots())
                    dirlist.AddTail(ff.GetFilePath());
            }
            else
            {
                // It's a Mp3! process the data here
            }
        }
        // process the last file that was found
    }
}while(dirlist.GetCount() > 0);


hope this helps Smile | :)
Questionhow to get the other window's scrollbar handle ? Pin
yoyo2-Aug-03 23:22
yoyo2-Aug-03 23:22 
AnswerRe: how to get the other window's scrollbar handle ? Pin
HPSI3-Aug-03 1:25
HPSI3-Aug-03 1:25 
GeneralRe: how to get the other window's scrollbar handle ? Pin
yoyo3-Aug-03 16:56
yoyo3-Aug-03 16:56 
Generalhey guys..new bie here Pin
virtualspy2-Aug-03 22:46
virtualspy2-Aug-03 22:46 
GeneralRe: hey guys..new bie here Pin
Rein Hillmann2-Aug-03 23:02
Rein Hillmann2-Aug-03 23:02 
GeneralRe: hey guys..new bie here Pin
virtualspy3-Aug-03 1:48
virtualspy3-Aug-03 1:48 

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.