Click here to Skip to main content
15,897,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 [modified] Pin
sunlin721-Jul-10 3:13
sunlin721-Jul-10 3:13 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 Pin
Randor 21-Jul-10 14:03
professional Randor 21-Jul-10 14:03 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 Pin
xjh_sz21-Jul-10 14:59
xjh_sz21-Jul-10 14:59 
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 
Hello,

as most of you know, you can fill a Listbox with a complete directory list by Sending a message LB_DIR. This works fine, for example I create a CListBox Control like this, and fill the contents with a directory list:

CListBox m_List1;

...

m_List.SendMessage(LB_DIR,DDL_READWRITE ,(long)(const char*)(CString("C:\\temp\\*.*").GetBuffer(0)));

(Alternatively, you can use

m_List.Dir(DDL_READWRITE, "C:\\temp\\*.*");


which leads to exactly the same result)


The problem I have is the following: if a file in my directory has not set any of the following bits:
- "File is ready for archiving"
- "For fast searching, allow Indexing service to index this file"

it won't appear in my list. In order to do this, use Windows explorer, right-click on a file, select properties, look at Attributes and click the button "Advanced", and remove the upper two checkboxes.

No matter what attributes I set, when these two checkboxes are not set, the file will not be listed.

Can you please try to reproduce this? I think this is a severe bug that Microsoft should fix, or am I doing something completely wrong? How can I overcome this behaviour? Is there any known fix to this issue?
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 
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 

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.