Click here to Skip to main content
15,907,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Character Exception Pin
Cool_Dev21-Jul-10 4:38
Cool_Dev21-Jul-10 4:38 
Question关于32/64位操作系统下,应用程序兼容性问题 Pin
xjh_sz20-Jul-10 23:38
xjh_sz20-Jul-10 23:38 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 PinPopular
Richard MacCutchan21-Jul-10 0:13
mveRichard MacCutchan21-Jul-10 0:13 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 Pin
Sauro Viti21-Jul-10 1:00
professionalSauro Viti21-Jul-10 1:00 
AnswerRe: 关于32/64位操作系统下,应用程序兼容性问题 Pin
Luc Pattyn21-Jul-10 14:41
sitebuilderLuc Pattyn21-Jul-10 14:41 
QuestionRe: About 32/64 bit operating system, application compatibility issues Pin
David Crow21-Jul-10 3:09
David Crow21-Jul-10 3:09 
JokeRe: About 32/64 bit operating system, application compatibility issues Pin
Yusuf21-Jul-10 7:08
Yusuf21-Jul-10 7:08 
AnswerRe: About 32/64 bit operating system, application compatibility issues Pin
David Crow21-Jul-10 7:41
David Crow21-Jul-10 7:41 
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 

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.