Click here to Skip to main content
15,902,893 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Circular rotating Buttons.. Pin
PJ Arends29-Aug-03 22:56
professionalPJ Arends29-Aug-03 22:56 
GeneralAbout Float Point Exception Pin
HansonDavid29-Aug-03 20:52
HansonDavid29-Aug-03 20:52 
GeneralPROJECTS Pin
Neelesh K J Jain29-Aug-03 18:49
Neelesh K J Jain29-Aug-03 18:49 
GeneralRe: PROJECTS Pin
TigerNinja_29-Aug-03 18:54
TigerNinja_29-Aug-03 18:54 
GeneralWinAPI FindNextFile problem Pin
TigerNinja_29-Aug-03 18:36
TigerNinja_29-Aug-03 18:36 
GeneralRe: WinAPI FindNextFile problem Pin
Michael Dunn29-Aug-03 19:08
sitebuilderMichael Dunn29-Aug-03 19:08 
GeneralRe: WinAPI FindNextFile problem Pin
TigerNinja_29-Aug-03 19:27
TigerNinja_29-Aug-03 19:27 
GeneralRe: WinAPI FindNextFile problem Pin
TigerNinja_29-Aug-03 19:23
TigerNinja_29-Aug-03 19:23 
This code seems to work like I expected:
<br />
	WIN32_FIND_DATA fd;<br />
	HANDLE hFind = ::FindFirstFile(_T("C:\\wutemp\\*.*"), &fd);<br />
<br />
	if (hFind != INVALID_HANDLE_VALUE)<br />
	{<br />
		do<br />
		{<br />
			if (fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)<br />
				m_listBox.AddString(fd.cFileName);<br />
		}<br />
		while(::FindNextFile(hFind, &fd));<br />
		::FindClose(hFind);<br />
	}<br />


I guess in my first post the file attributes were not set correctly. Not sure.







R.Bischoff
.NET, Kommst du mit?


GeneralSolution of your IT/Computer science Problems Pin
mindnets29-Aug-03 17:44
mindnets29-Aug-03 17:44 
GeneralRe: Solution of your IT/Computer science Problems Pin
Taka Muraoka29-Aug-03 18:04
Taka Muraoka29-Aug-03 18:04 
GeneralRe: Solution of your IT/Computer science Problems Pin
l a u r e n29-Aug-03 18:19
l a u r e n29-Aug-03 18:19 
GeneralRe: Solution of your IT/Computer science Problems Pin
Ryan Binns29-Aug-03 22:13
Ryan Binns29-Aug-03 22:13 
GeneralNeed help on listbox functions Pin
coda_x29-Aug-03 14:39
coda_x29-Aug-03 14:39 
GeneralRe: Need help on listbox functions Pin
Larry J. Siddens29-Aug-03 15:00
Larry J. Siddens29-Aug-03 15:00 
GeneralRe: Need help on listbox functions Pin
coda_x29-Aug-03 15:21
coda_x29-Aug-03 15:21 
GeneralRe: Need help on listbox functions Pin
Michael Dunn29-Aug-03 15:40
sitebuilderMichael Dunn29-Aug-03 15:40 
GeneralRe: Need help on listbox functions Pin
coda_x29-Aug-03 15:57
coda_x29-Aug-03 15:57 
GeneralRe: Need help on listbox functions Pin
l a u r e n29-Aug-03 18:24
l a u r e n29-Aug-03 18:24 
GeneralRe: Need help on listbox functions Pin
Larry J. Siddens30-Aug-03 3:26
Larry J. Siddens30-Aug-03 3:26 
QuestionDoes MFC ship with IE or Windows? Pin
Shutter29-Aug-03 14:17
Shutter29-Aug-03 14:17 
AnswerRe: Does MFC ship with IE or Windows? Pin
Joe Woodbury29-Aug-03 18:49
professionalJoe Woodbury29-Aug-03 18:49 
GeneralProblem with a property sheet Pin
Artem Moroz29-Aug-03 12:55
Artem Moroz29-Aug-03 12:55 
GeneralWin32 api Pin
HeiniBlad29-Aug-03 9:07
HeiniBlad29-Aug-03 9:07 
GeneralRe: Win32 api Pin
John M. Drescher29-Aug-03 9:43
John M. Drescher29-Aug-03 9:43 
GeneralRe: Win32 api Pin
Ravi Bhavnani29-Aug-03 10:00
professionalRavi Bhavnani29-Aug-03 10:00 

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.