Click here to Skip to main content
15,891,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDeleting all columns in CListCtrl Pin
kishorekumar146 20-Jul-10 23:21
kishorekumar146 20-Jul-10 23:21 
AnswerRe: Deleting all columns in CListCtrl Pin
Code-o-mat20-Jul-10 23:26
Code-o-mat20-Jul-10 23:26 
AnswerRe: Deleting all columns in CListCtrl Pin
«_Superman_»21-Jul-10 0:14
professional«_Superman_»21-Jul-10 0:14 
GeneralRe: Deleting all columns in CListCtrl Pin
Niklas L21-Jul-10 1:01
Niklas L21-Jul-10 1:01 
QuestionBug when filling a CListBox with a list of non archived files? Pin
Erik20-Jul-10 22:07
Erik20-Jul-10 22:07 
AnswerRe: Bug when filling a CListBox with a list of non archived files? Pin
Cool_Dev20-Jul-10 22:49
Cool_Dev20-Jul-10 22:49 
AnswerRe: Bug when filling a CListBox with a list of non archived files? [modified] Pin
Code-o-mat20-Jul-10 23:22
Code-o-mat20-Jul-10 23:22 
AnswerRe: Bug when filling a CListBox with a list of non archived files? [modified] Pin
Richard MacCutchan21-Jul-10 1:20
mveRichard MacCutchan21-Jul-10 1:20 
I have run some tests on this and it appears that the removal of the "For fast searching, allow Indexing service to index this file" bit is the problem. If this bit is set then the file appears in my list, even if the Archive bit is not set. This may have something to do with the way the bit is interpreted as a 'not' option, as described by dir /?.

Using FindFirstFile() / FindNextFile() I get all the files, including the one with indexing not set (attribute 0x2000), so it definitely looks like a Microsoft bug.
It's time for a new signature.
modified on Wednesday, July 21, 2010 7:52 AM

GeneralRe: Bug when filling a CListBox with a list of non archived files? Pin
Erik21-Jul-10 1:27
Erik21-Jul-10 1:27 
GeneralRe: Bug when filling a CListBox with a list of non archived files? Pin
Richard MacCutchan21-Jul-10 2:04
mveRichard MacCutchan21-Jul-10 2:04 
GeneralRe: Bug when filling a CListBox with a list of non archived files? Pin
Erik21-Jul-10 2:34
Erik21-Jul-10 2:34 
AnswerRe: Bug when filling a CListBox with a list of non archived files? Pin
David Crow21-Jul-10 3:13
David Crow21-Jul-10 3:13 
GeneralRe: Bug when filling a CListBox with a list of non archived files? Pin
Richard MacCutchan21-Jul-10 2:50
mveRichard MacCutchan21-Jul-10 2:50 
GeneralRe: Bug when filling a CListBox with a list of non archived files? Pin
Erik21-Jul-10 2:54
Erik21-Jul-10 2:54 
GeneralRe: Bug when filling a CListBox with a list of non archived files? Pin
Richard MacCutchan21-Jul-10 5:01
mveRichard MacCutchan21-Jul-10 5:01 
Questionhow to enble menu item in a system menu? Pin
vasu_sri20-Jul-10 21:29
vasu_sri20-Jul-10 21:29 
AnswerRe: how to enble menu item in a system menu? Pin
«_Superman_»20-Jul-10 21:41
professional«_Superman_»20-Jul-10 21:41 
GeneralRe: how to enble menu item in a system menu? Pin
vasu_sri20-Jul-10 22:50
vasu_sri20-Jul-10 22:50 
QuestionGDI+ Pin
john563220-Jul-10 21:26
john563220-Jul-10 21:26 
AnswerRe: GDI+ Pin
john563221-Jul-10 1:36
john563221-Jul-10 1:36 
AnswerRe: GDI+ [modified] Pin
Luc Pattyn21-Jul-10 2:20
sitebuilderLuc Pattyn21-Jul-10 2:20 
Questionchar buffer append Pin
gmallax20-Jul-10 20:22
gmallax20-Jul-10 20:22 
AnswerRe: char buffer append Pin
Code-o-mat20-Jul-10 20:48
Code-o-mat20-Jul-10 20:48 
AnswerRe: char buffer append Pin
Niklas L20-Jul-10 21:50
Niklas L20-Jul-10 21:50 
AnswerRe: char buffer append Pin
Aescleal20-Jul-10 22:19
Aescleal20-Jul-10 22:19 

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.