Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Finding files using FindFile/FindNextFile Pin
SWDevil8-Mar-06 20:57
SWDevil8-Mar-06 20:57 
GeneralRe: Finding files using FindFile/FindNextFile Pin
Hamid_RT8-Mar-06 21:20
Hamid_RT8-Mar-06 21:20 
GeneralRe: Finding files using FindFile/FindNextFile Pin
SWDevil8-Mar-06 21:41
SWDevil8-Mar-06 21:41 
GeneralRe: Finding files using FindFile/FindNextFile Pin
Hamid_RT8-Mar-06 21:52
Hamid_RT8-Mar-06 21:52 
GeneralRe: Finding files using FindFile/FindNextFile Pin
toxcct8-Mar-06 22:18
toxcct8-Mar-06 22:18 
AnswerRe: Finding files using FindFile/FindNextFile Pin
toxcct8-Mar-06 22:10
toxcct8-Mar-06 22:10 
GeneralRe: Finding files using FindFile/FindNextFile Pin
SWDevil9-Mar-06 1:08
SWDevil9-Mar-06 1:08 
GeneralRe: Finding files using FindFile/FindNextFile Pin
Wim Engberts9-Mar-06 1:18
Wim Engberts9-Mar-06 1:18 
Why don't you get the files in a linked list and then sort the list? In that case you can sort the list in any type of order you need. Basically, the suggested solution with the combobox does the same, but you can keep it all in your own hands just as easily. Suggestion for a linked list:

typedef struct _st_list ST_LIST;
struct_st_list
{
CString m_strFilename;
ST_LIST * m_Next;
};

ST_LIST * MyList = (ST_LIST *)NULL;

ST_LIST * NewList (void)
{
ST_LIST *r, *l;

r = new ST_LIST;
r->m_Next = (ST_LIST *)NULL;
if ((l = MyList) == (ST_LIST *)NULL)
MyList = r;
else
{
while (l->m_Next != (ST_LIST *)NULL)
l = l->m_Next;
l->m_Next = r;
}
return r;
}

William
GeneralRe: Finding files using FindFile/FindNextFile Pin
toxcct9-Mar-06 1:32
toxcct9-Mar-06 1:32 
Questionabout handle message. Pin
HOW WHAT8-Mar-06 20:15
HOW WHAT8-Mar-06 20:15 
Questionhow to find files with certain extension in a certain directory Pin
Joy Anne8-Mar-06 19:39
Joy Anne8-Mar-06 19:39 
AnswerRe: how to find files with certain extension in a certain directory Pin
Nibu babu thomas8-Mar-06 19:53
Nibu babu thomas8-Mar-06 19:53 
AnswerRe: how to find files with certain extension in a certain directory Pin
Hamid_RT8-Mar-06 21:33
Hamid_RT8-Mar-06 21:33 
AnswerRe: how to find files with certain extension in a certain directory Pin
toxcct8-Mar-06 22:05
toxcct8-Mar-06 22:05 
QuestionHow to Call "Enter Network Password" dialogbox i n Win2000? Pin
host288-Mar-06 19:26
host288-Mar-06 19:26 
AnswerRe: How to Call "Enter Network Password" dialogbox i n Win2000? Pin
Xing Chen8-Mar-06 22:55
Xing Chen8-Mar-06 22:55 
QuestionHow to Call "Enter Network Password" in Win2000? Pin
host288-Mar-06 19:18
host288-Mar-06 19:18 
Questionhow to stop timer in thread Pin
baldha rakesh8-Mar-06 18:33
baldha rakesh8-Mar-06 18:33 
AnswerRe: how to stop timer in thread Pin
Nibu babu thomas8-Mar-06 18:47
Nibu babu thomas8-Mar-06 18:47 
AnswerRe: how to stop timer in thread Pin
Eytukan8-Mar-06 22:20
Eytukan8-Mar-06 22:20 
QuestionWM_TIMER in Win32 Console App? Pin
syntaxed8-Mar-06 18:24
syntaxed8-Mar-06 18:24 
AnswerRe: WM_TIMER in Win32 Console App? Pin
Stephen Hewitt8-Mar-06 20:48
Stephen Hewitt8-Mar-06 20:48 
GeneralRe: WM_TIMER in Win32 Console App? Pin
Eytukan8-Mar-06 22:25
Eytukan8-Mar-06 22:25 
GeneralRe: WM_TIMER in Win32 Console App? Pin
Stephen Hewitt8-Mar-06 23:02
Stephen Hewitt8-Mar-06 23:02 
GeneralRe: WM_TIMER in Win32 Console App? Pin
Eytukan9-Mar-06 0:35
Eytukan9-Mar-06 0:35 

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.