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

C / C++ / MFC

 
GeneralRe: subitem in CListCtrl Pin
Tara1431-Jul-06 18:37
Tara1431-Jul-06 18:37 
QuestionRe: subitem in CListCtrl Pin
David Crow31-Jul-06 10:20
David Crow31-Jul-06 10:20 
AnswerRe: subitem in CListCtrl Pin
Tara1431-Jul-06 18:53
Tara1431-Jul-06 18:53 
AnswerRe: subitem in CListCtrl Pin
Michael Dunn31-Jul-06 17:57
sitebuilderMichael Dunn31-Jul-06 17:57 
GeneralRe: subitem in CListCtrl [modified] Pin
Tara1431-Jul-06 19:39
Tara1431-Jul-06 19:39 
AnswerRe: subitem in CListCtrl Pin
Hamid_RT31-Jul-06 18:52
Hamid_RT31-Jul-06 18:52 
GeneralRe: subitem in CListCtrl Pin
Tara1431-Jul-06 18:58
Tara1431-Jul-06 18:58 
GeneralRe: subitem in CListCtrl Pin
Tara1431-Jul-06 21:53
Tara1431-Jul-06 21:53 
I got it!

This is what I did:

In OnClick function of CEditList, I added 
     NM_LISTVIEW* pNMListView = (NM_LISTVIEW*)pNMHDR;
 
     Item =pNMListView->iItem;
     subItem =pNMListView->iSubItem;


Then in my dialog class:
void CXBudget::OnItemchangedXBudgetLISTMain(NMHDR* pNMHDR, LRESULT* pResult) 
{

	nitem = m_XBudgetLIST_Main.Item;
	nSubItem = m_XBudgetLIST_Main.subItem;
	if (nSubItem >=2)
	SaveChanges(nitem,nSubItem);
}



Fortitudine Vincimus!

Questiondebugging VS6.0 C (not ++)... how to view entire array contents? Pin
Jesse Evans31-Jul-06 9:35
Jesse Evans31-Jul-06 9:35 
AnswerRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
David Crow31-Jul-06 9:47
David Crow31-Jul-06 9:47 
GeneralRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
Jesse Evans31-Jul-06 11:15
Jesse Evans31-Jul-06 11:15 
AnswerRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
valikac31-Jul-06 9:47
valikac31-Jul-06 9:47 
AnswerRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
krmed31-Jul-06 10:22
krmed31-Jul-06 10:22 
GeneralRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
Jesse Evans31-Jul-06 11:16
Jesse Evans31-Jul-06 11:16 
GeneralRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
Jesse Evans31-Jul-06 11:18
Jesse Evans31-Jul-06 11:18 
AnswerRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
Zac Howland31-Jul-06 10:37
Zac Howland31-Jul-06 10:37 
GeneralRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
Jesse Evans31-Jul-06 11:26
Jesse Evans31-Jul-06 11:26 
AnswerRe: debugging VS6.0 C (not ++)... how to view entire array contents? Pin
Michael Dunn31-Jul-06 18:07
sitebuilderMichael Dunn31-Jul-06 18:07 
QuestionReading And Writting Files to Access Database using ADO [modified] Pin
Christopher Stratmann31-Jul-06 8:36
Christopher Stratmann31-Jul-06 8:36 
AnswerRe: Reading And Writting Files to Access Database using ADO Pin
Zac Howland31-Jul-06 8:45
Zac Howland31-Jul-06 8:45 
GeneralRe: Reading And Writting Files to Access Database using ADO Pin
Christopher Stratmann31-Jul-06 10:56
Christopher Stratmann31-Jul-06 10:56 
GeneralRe: Reading And Writting Files to Access Database using ADO Pin
Zac Howland31-Jul-06 11:16
Zac Howland31-Jul-06 11:16 
GeneralRe: Reading And Writting Files to Access Database using ADO Pin
Christopher Stratmann31-Jul-06 23:50
Christopher Stratmann31-Jul-06 23:50 
GeneralRe: Reading And Writting Files to Access Database using ADO Pin
Zac Howland1-Aug-06 3:46
Zac Howland1-Aug-06 3:46 
GeneralRe: Reading And Writting Files to Access Database using ADO Pin
Christopher Stratmann1-Aug-06 4:22
Christopher Stratmann1-Aug-06 4: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.