Click here to Skip to main content
15,890,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Making a file not accessible by other applications Pin
prasad_som22-Mar-07 3:07
prasad_som22-Mar-07 3:07 
AnswerRe: Making a file not accessible by other applications Pin
Roger Stoltz22-Mar-07 2:48
Roger Stoltz22-Mar-07 2:48 
AnswerRe: Making a file not accessible by other applications Pin
DLChambers23-Mar-07 16:47
DLChambers23-Mar-07 16:47 
Questiona problem about ListBox's item Pin
Chen-XuNuo22-Mar-07 2:32
Chen-XuNuo22-Mar-07 2:32 
AnswerRe: a problem about ListBox's item Pin
prasad_som22-Mar-07 2:45
prasad_som22-Mar-07 2:45 
GeneralRe: a problem about ListBox's item Pin
Chen-XuNuo22-Mar-07 3:41
Chen-XuNuo22-Mar-07 3:41 
AnswerRe: a problem about ListBox's item Pin
CPallini22-Mar-07 2:46
mveCPallini22-Mar-07 2:46 
GeneralRe: a problem about ListBox's item Pin
Chen-XuNuo22-Mar-07 3:13
Chen-XuNuo22-Mar-07 3:13 
I am refering to a example about ListBox,and it creates a function AddItem like this:
void CListBoxEx::AddItem(UINT IconID, LPCTSTR lpszText)
{
//Adds a string ans assigns nIndex the index of the current item
int nIndex=AddString(lpszText);
//If no error, associates the index with the bitmap ID
if (nIndex!=LB_ERR && nIndex!=LB_ERRSPACE)
SetItemData(nIndex, IconID);
}
It calls AddString and after it calls SetItemData,whether the data of string and the bitmap both are save in lpDrawItemStruct->itemData?I am puzzled~
GeneralRe: a problem about ListBox's item Pin
CPallini22-Mar-07 3:38
mveCPallini22-Mar-07 3:38 
GeneralRe: a problem about ListBox's item Pin
Chen-XuNuo22-Mar-07 3:44
Chen-XuNuo22-Mar-07 3:44 
GeneralRe: a problem about ListBox's item Pin
Chen-XuNuo22-Mar-07 3:24
Chen-XuNuo22-Mar-07 3:24 
GeneralRe: a problem about ListBox's item Pin
CPallini22-Mar-07 3:47
mveCPallini22-Mar-07 3:47 
QuestionSetTimer critical section problem Pin
D G McKay22-Mar-07 1:35
D G McKay22-Mar-07 1:35 
AnswerRe: SetTimer critical section problem Pin
James R. Twine22-Mar-07 1:46
James R. Twine22-Mar-07 1:46 
AnswerRe: SetTimer critical section problem Pin
kakan22-Mar-07 1:55
professionalkakan22-Mar-07 1:55 
GeneralRe: SetTimer critical section problem Pin
James R. Twine22-Mar-07 2:09
James R. Twine22-Mar-07 2:09 
GeneralRe: SetTimer critical section problem Pin
kakan22-Mar-07 2:19
professionalkakan22-Mar-07 2:19 
GeneralRe: SetTimer critical section problem Pin
D G McKay22-Mar-07 2:30
D G McKay22-Mar-07 2:30 
GeneralRe: SetTimer critical section problem Pin
kakan22-Mar-07 2:34
professionalkakan22-Mar-07 2:34 
AnswerRe: SetTimer critical section problem Pin
Parthi_Appu22-Mar-07 1:57
Parthi_Appu22-Mar-07 1:57 
GeneralRe: SetTimer critical section problem Pin
Michael Dunn22-Mar-07 10:14
sitebuilderMichael Dunn22-Mar-07 10:14 
GeneralRe: SetTimer critical section problem Pin
Parthi_Appu22-Mar-07 17:06
Parthi_Appu22-Mar-07 17:06 
AnswerRe: SetTimer critical section problem Pin
Stephen Hewitt22-Mar-07 13:00
Stephen Hewitt22-Mar-07 13:00 
QuestionCheck if is folder or file function? Pin
bosfan22-Mar-07 0:51
bosfan22-Mar-07 0:51 
AnswerRe: Check if is folder or file function? Pin
prasad_som22-Mar-07 0:54
prasad_som22-Mar-07 0: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.